Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModeNone = Mode(iota) ModeChar ModeLine )
Variables ¶
View Source
var EmptyRegion = Region{}
Functions ¶
This section is empty.
Types ¶
type Region ¶
Region represents a selection within a document. The zero value represents an empty selection.
func (Region) ContainsPosition ¶
ContainsPosition returns whether the position is within the region.
type Selector ¶
type Selector struct {
// contains filtered or unexported fields
}
Selector tracks the selected region of the document.
func (*Selector) Clear ¶
func (s *Selector) Clear()
Clear clears the currently selected region, if any.
Click to show internal directories.
Click to hide internal directories.