Versions in this module Expand all Collapse all v0 v0.5.4 Nov 26, 2020 Changes in this version + type Edit struct + At int + New []rune + Old []rune + type Editor interface + Filepath func() string + Runes func() []rune + SetSyntaxLayers func([]SyntaxLayer) + SetText func(string) + SyntaxLayers func() []SyntaxLayer + Text func() string + type Handler interface + Apply func(focused Editor, edits ...Edit) + Bind func(bind.Bindable) (Handler, error) + HandleEvent func(focused Editor, ev gxui.KeyboardEvent) + HandleInput func(focused Editor, stroke gxui.KeyStrokeEvent) + Init func(Editor, []rune) + New func() Handler + type Span struct + End int + Start int + type SyntaxLayer struct + Construct theme.LanguageConstruct + Spans []Span + func (l SyntaxLayer) Contains(pos int) bool