package
0.22.0-dev
Repository: https://github.com/elves/elvish.git
Documentation: pkg.go.dev

# Functions

CategorizeSmallWord determines if the rune is whitespace, alphanum, or something else.
IsAlnum determines if the rune is an alphanumeric character.
Left moves the selection to the item to the left.
NewCodeArea creates a new CodeArea from the given spec.
NewColView creates a new ColView from the given spec.
NewComboBox creates a new ComboBox from the given spec.
NewListBox creates a new ListBox from the given spec.
NewTextView builds a TextView from the given spec.
Next moves the selection to the previous item, or does nothing if the last item is currently selected.
NextPage moves the selection to the item one page after.
NextWrap moves the selection to the previous item, or to the first item if the last item is currently selected.
Prev moves the selection to the previous item, or does nothing if the first item is currently selected.
PrevPage moves the selection to the item one page before.
PrevWrap moves the selection to the previous item, or to the last item if the first item is currently selected.
Right moves the selection to the item to the right.

# Structs

CodeAreaSpec specifies the configuration and initial state for CodeArea.
CodeAreaState keeps the mutable state of the CodeArea widget.
CodeBuffer represents the buffer of the CodeArea widget.
ColViewSpec specifies the configuration and initial state for ColView.
ColViewState keeps the mutable state of the ColView widget.
ComboBoxSpec specifies the configuration and initial state for ComboBox.
DummyBindings is a trivial Bindings implementation.
Empty is an empty widget.
HScrollbar is a Renderer for a horizontal scrollbar.
Label is a Renderer that writes out a text.
ListBoxSpec specifies the configuration and initial state for ListBox.
ListBoxState keeps the mutable state ListBox.
PendingCode represents pending code, such as during completion.
TestItems is an implementation of Items useful for testing.
TextViewSpec specifies the configuration and initial state for a Widget.
TextViewState keeps mutable state of TextView.
VScrollbar is a Renderer for a vertical scrollbar.
VScrollbarContainer is a Renderer consisting of content and a vertical scrollbar on the right.

# Interfaces

Bindings is the interface for key bindings.
CodeArea is a Widget for displaying and editing code.
ColView is a Widget that arranges several widgets in a column.
ComboBox is a Widget that combines a ListBox and a CodeArea.
Handler wraps the Handle method.
Items is an interface for accessing multiple items.
ListBox is a list for displaying and selecting from a list of items.
MaxHeighter wraps the MaxHeight method.
Renderer wraps the Render method.
TextView is a Widget for displaying text, with support for vertical scrolling.
Widget is the basic component of UI; it knows how to handle events and how to render itself.

# Type aliases

FuncBindings is a function-based Bindings implementation.
MapBindings is a map-backed Bindings implementation.