From 48c31ff1a04bf6743ae52710d23c382cdc8527be Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Sun, 26 Apr 2020 16:59:33 -0700 Subject: [PATCH] Remove wiki references --- CHANGELOG | 2 +- box.go | 2 -- button.go | 2 -- checkbox.go | 2 -- dropdown.go | 2 -- flex.go | 2 -- form.go | 2 -- frame.go | 2 -- grid.go | 2 -- inputfield.go | 2 -- list.go | 2 -- modal.go | 2 -- pages.go | 2 -- table.go | 2 -- textview.go | 2 -- treeview.go | 2 -- 16 files changed, 1 insertion(+), 31 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 184acd3..e91599c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -64,7 +64,7 @@ v0.1.17 (2018-06-20) v0.1.15 (2018-05-02) - Flex and Grid don't clear their background per default, thus allowing for -custom modals. See the Wiki for an example. +custom modals. v0.1.14 (2018-04-13) - Added an Escape() function which keep strings like color or region tags from diff --git a/box.go b/box.go index d2acbb2..d01eba1 100644 --- a/box.go +++ b/box.go @@ -9,8 +9,6 @@ import ( // Box is the base Primitive for all widgets. It has a background color and // optional surrounding elements such as a border and a title. It does not have // inner text. Widgets embed Box and draw their text over it. -// -// See demos/box for an example. type Box struct { // The position of the rect. x, y, width, height int diff --git a/button.go b/button.go index 81eee6f..3ca6255 100644 --- a/button.go +++ b/button.go @@ -7,8 +7,6 @@ import ( ) // Button is labeled box that triggers an action when selected. -// -// See https://gitlab.com/tslocum/cview/wiki/Button for an example. type Button struct { *Box diff --git a/checkbox.go b/checkbox.go index 5e41699..f80d863 100644 --- a/checkbox.go +++ b/checkbox.go @@ -8,8 +8,6 @@ import ( // CheckBox implements a simple box for boolean values which can be checked and // unchecked. -// -// See https://gitlab.com/tslocum/cview/wiki/Checkbox for an example. type CheckBox struct { *Box diff --git a/dropdown.go b/dropdown.go index d6d9e2c..99c1c90 100644 --- a/dropdown.go +++ b/dropdown.go @@ -15,8 +15,6 @@ type dropDownOption struct { // DropDown implements a selection widget whose options become visible in a // drop-down list when activated. -// -// See https://gitlab.com/tslocum/cview/wiki/DropDown for an example. type DropDown struct { *Box diff --git a/flex.go b/flex.go index a8448bd..7dd65c6 100644 --- a/flex.go +++ b/flex.go @@ -24,8 +24,6 @@ type flexItem struct { // primitives are arranged horizontally or vertically. The way they are // distributed along that dimension depends on their layout settings, which is // either a fixed length or a proportional length. See AddItem() for details. -// -// See https://gitlab.com/tslocum/cview/wiki/Flex for an example. type Flex struct { *Box diff --git a/form.go b/form.go index 4d08a3d..4c49bb8 100644 --- a/form.go +++ b/form.go @@ -39,8 +39,6 @@ type FormItem interface { // or horizontal layout. Form elements include types such as InputField or // CheckBox. These elements can be optionally followed by one or more buttons // for which you can define form-wide actions (e.g. Save, Clear, Cancel). -// -// See https://gitlab.com/tslocum/cview/wiki/Form for an example. type Form struct { *Box diff --git a/frame.go b/frame.go index 09ed82b..b0a7bce 100644 --- a/frame.go +++ b/frame.go @@ -16,8 +16,6 @@ type frameText struct { // Frame is a wrapper which adds space around another primitive. In addition, // the top area (header) and the bottom area (footer) may also contain text. -// -// See https://gitlab.com/tslocum/cview/wiki/Frame for an example. type Frame struct { *Box diff --git a/grid.go b/grid.go index 339d3c9..b9c6225 100644 --- a/grid.go +++ b/grid.go @@ -27,8 +27,6 @@ type gridItem struct { // can also be controlled with the arrow keys (or the "g","G", "j", "k", "h", // and "l" keys) while the grid has focus and none of its contained primitives // do. -// -// See https://gitlab.com/tslocum/cview/wiki/Grid for an example. type Grid struct { *Box diff --git a/inputfield.go b/inputfield.go index 351eac4..063a4fb 100644 --- a/inputfield.go +++ b/inputfield.go @@ -28,8 +28,6 @@ import ( // - Ctrl-K: Delete from the cursor to the end of the line. // - Ctrl-W: Delete the last word before the cursor. // - Ctrl-U: Delete the entire line. -// -// See https://gitlab.com/tslocum/cview/wiki/InputField for an example. type InputField struct { *Box diff --git a/list.go b/list.go index 2c4e42d..e58c1e7 100644 --- a/list.go +++ b/list.go @@ -18,8 +18,6 @@ type listItem struct { } // List displays rows of items, each of which can be selected. -// -// See https://gitlab.com/tslocum/cview/wiki/List for an example. type List struct { *Box *ContextMenu diff --git a/modal.go b/modal.go index 6fab7c2..af15ad3 100644 --- a/modal.go +++ b/modal.go @@ -9,8 +9,6 @@ import ( // Modal is a centered message window used to inform the user or prompt them // for an immediate decision. It needs to have at least one button (added via // AddButtons()) or it will never disappear. -// -// See https://gitlab.com/tslocum/cview/wiki/Modal for an example. type Modal struct { *Box diff --git a/pages.go b/pages.go index a243f9e..bb41505 100644 --- a/pages.go +++ b/pages.go @@ -17,8 +17,6 @@ type page struct { // Pages is a container for other primitives often used as the application's // root primitive. It allows to easily switch the visibility of the contained // primitives. -// -// See https://gitlab.com/tslocum/cview/wiki/Pages for an example. type Pages struct { *Box diff --git a/table.go b/table.go index 38b0c97..67aa9a2 100644 --- a/table.go +++ b/table.go @@ -246,8 +246,6 @@ func (c *TableCell) GetLastPosition() (x, y, width int) { // The class will attempt to keep the selection from moving out of the screen. // // Use SetInputCapture() to override or modify keyboard input. -// -// See https://gitlab.com/tslocum/cview/wiki/Table for an example. type Table struct { *Box diff --git a/textview.go b/textview.go index 22853ef..0d30be3 100644 --- a/textview.go +++ b/textview.go @@ -96,8 +96,6 @@ type textViewRegion struct { // // The ScrollToHighlight() function can be used to jump to the currently // highlighted region once when the text view is drawn the next time. -// -// See https://gitlab.com/tslocum/cview/wiki/TextView for an example. type TextView struct { *Box diff --git a/treeview.go b/treeview.go index 4dc98f8..4d929de 100644 --- a/treeview.go +++ b/treeview.go @@ -314,8 +314,6 @@ func (n *TreeNode) SetIndent(indent int) *TreeNode { // hierarchy. Alternative (or additionally), you can set different prefixes // using SetPrefixes() for different levels, for example to display hierarchical // bullet point lists. -// -// See https://gitlab.com/tslocum/cview/wiki/TreeView for an example. type TreeView struct { *Box