# Functions
ErrorText returns a red "error:" followed by unstyled space and err.Error().
FocusedCodeArea returns a CodeArea widget if the currently focused widget is a CodeArea.
NewCompletion starts the completion UI.
NewHistlist creates a new histlist mode.
NewHistwalk creates a new Histwalk mode.
NewInstant creates a new instant mode.
NewLastcmd creates a new lastcmd mode.
NewListing creates a new listing mode.
NewLocation creates a new location mode.
NewNavigation creates a new navigation mode.
NewOSNavigationCursor returns a NavigationCursor backed by the OS.
NewStub creates a new Stub mode.
# Variables
ErrFocusedWidgetNotCodeArea is returned when an operation requires the focused widget to be a code area but it is not.
Prompt returns a callback suitable as the prompt in the codearea of a mode widget.
# Structs
CompletionItem represents a completion item, also known as a candidate.
CompletionSpec specifies the configuration for the completion mode.
FilterSpec specifies the configuration for the filter in listing modes.
HistlistSpec specifies the configuration for the histlist mode.
HistwalkSpec specifies the configuration for the histwalk mode.
InstantSpec specifies the configuration for the instant mode.
LastcmdSpec specifies the configuration for the lastcmd mode.
ListingItem is an item to show in the listing.
ListingSpec specifies the configuration for the listing mode.
LocationSpec is the configuration to start the location history feature.
NavigationSpec specifieis the configuration for the navigation mode.
StubSpec specifies the configuration for the stub mode.
# Interfaces
Completion is a mode specialized for viewing and inserting completion candidates.
Histlist is a mode for browsing history and selecting entries to insert.
Histwalk is a mode for walking through history.
Instant is a mode that executes code whenever it changes and shows the result.
Lastcmd is a mode for inspecting the last command, and inserting part of all of it.
LastcmdStore is a subset of histutil.Store used in lastcmd mode.
Listing is a customizable mode for browsing through a list of items.
Location is a mode for viewing location history and changing to a selected directory.
LocationStore defines the interface for interacting with the directory history.
NavigationCursor represents a cursor for navigating in a potentially virtual filesystem.
NavigationFile represents a potentially virtual file.
Stub is a mode that just shows a modeline and keeps the focus on the code area.
# Type aliases
LocationWSIterator is a function that iterates all workspaces by calling the passed function with the name and pattern of each kind of workspace.