Documentation ¶
Index ¶
- func Bindables(cmdr command.Commander, driver gxui.Driver, theme *basic.Theme) []bind.Bindable
- func NewLineEnd() bind.Command
- func NewLineStart() bind.Command
- func NewNextChar() bind.Command
- func NewNextLine() bind.Command
- func NewNextWord() bind.Command
- func NewPrevChar() bind.Command
- func NewPrevLine() bind.Command
- func NewPrevWord() bind.Command
- func NewSelectLineEnd() bind.Command
- func NewSelectLineStart() bind.Command
- func NewSelectNextChar() bind.Command
- func NewSelectNextLine() bind.Command
- func NewSelectNextWord() bind.Command
- func NewSelectPrevChar() bind.Command
- func NewSelectPrevLine() bind.Command
- func NewSelectPrevWord() bind.Command
- type AfterSaver
- type AllSaver
- type Applier
- type BeforeSaver
- type BindManager
- type BindPopper
- type Careter
- type ChangeFocus
- type ChangeTab
- type CloseTab
- type Copy
- type CurrentEditorCloser
- type Cut
- type EditHook
- type Editor
- type EditorChooser
- type EditorRedraw
- type Executor
- type FileHook
- type FileOpener
- func (f *FileOpener) Defaults() []fmt.Stringer
- func (f *FileOpener) Exec() error
- func (f *FileOpener) Menu() string
- func (f *FileOpener) Name() string
- func (f *FileOpener) Next() gxui.Focusable
- func (f *FileOpener) Reset()
- func (f *FileOpener) Start(control gxui.Control) gxui.Control
- func (f *FileOpener) Store(elem interface{}) bind.Status
- type Find
- func (f *Find) Defaults() []fmt.Stringer
- func (f *Find) GainedFocus()
- func (f *Find) HasFocus() bool
- func (f *Find) Init(driver gxui.Driver, theme *basic.Theme)
- func (f *Find) IsFocusable() bool
- func (f *Find) KeyDown(event gxui.KeyboardEvent)
- func (f *Find) KeyPress(event gxui.KeyboardEvent) bool
- func (f *Find) KeyRepeat(event gxui.KeyboardEvent)
- func (f *Find) KeyStroke(event gxui.KeyStrokeEvent) bool
- func (f *Find) KeyUp(event gxui.KeyboardEvent)
- func (f *Find) LostFocus()
- func (f *Find) Menu() string
- func (f *Find) Name() string
- func (f *Find) Next() gxui.Focusable
- func (f *Find) OnGainedFocus(callback func()) gxui.EventSubscription
- func (f *Find) OnLostFocus(callback func()) gxui.EventSubscription
- func (f *Find) Paint(c gxui.Canvas)
- func (f *Find) Start(control gxui.Control) gxui.Control
- type Focuser
- type Fullscreen
- type Fullscreener
- type GotoLine
- func (g *GotoLine) Defaults() []fmt.Stringer
- func (g *GotoLine) Exec() error
- func (g *GotoLine) Menu() string
- func (g *GotoLine) Name() string
- func (g *GotoLine) Next() gxui.Focusable
- func (g *GotoLine) Reset()
- func (g *GotoLine) Start(on gxui.Control) gxui.Control
- func (g *GotoLine) Store(elem interface{}) bind.Status
- type LabelCreator
- type LineControl
- type Locationer
- type Mover
- type NavHook
- type Paste
- type ProjectFinder
- type Projecter
- type Quit
- type RedrawableEditor
- type RegexFind
- type Replace
- func (f *Replace) Defaults() []fmt.Stringer
- func (f *Replace) Exec() error
- func (f *Replace) Init(driver gxui.Driver, theme *basic.Theme)
- func (f *Replace) Menu() string
- func (f *Replace) Name() string
- func (f *Replace) Next() gxui.Focusable
- func (c *Replace) Reset()
- func (f *Replace) Start(control gxui.Control) gxui.Control
- func (c *Replace) Store(target interface{}) bind.Status
- type RuneScroller
- type SaveAll
- type SaveCurrent
- func (s *SaveCurrent) Bind(h bind.Bindable) (bind.HookedMultiOp, error)
- func (s *SaveCurrent) Defaults() []fmt.Stringer
- func (s *SaveCurrent) Exec() error
- func (s *SaveCurrent) Menu() string
- func (s *SaveCurrent) Name() string
- func (s *SaveCurrent) Reset()
- func (s *SaveCurrent) Store(target interface{}) bind.Status
- type SaveEditor
- type Scroll
- type ScrollDeselect
- type Scroller
- type SelectAll
- type Selecter
- type SelectionEditor
- type Split
- type Splitter
- type TabChooser
- type ViewHook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bindables ¶
Bindables returns all known bindables, in the order they should be added to the menu.
func NewLineEnd ¶
func NewLineStart ¶
func NewNextChar ¶
func NewNextLine ¶
func NewNextWord ¶
func NewPrevChar ¶
func NewPrevLine ¶
func NewPrevWord ¶
func NewSelectLineEnd ¶
func NewSelectLineStart ¶
func NewSelectNextChar ¶
func NewSelectNextLine ¶
func NewSelectNextWord ¶
func NewSelectPrevChar ¶
func NewSelectPrevLine ¶
func NewSelectPrevWord ¶
Types ¶
type AfterSaver ¶
type BeforeSaver ¶
type BindManager ¶
type BindPopper ¶
type ChangeFocus ¶
type ChangeFocus struct {
// contains filtered or unexported fields
}
func NewFocusDown ¶
func NewFocusDown() *ChangeFocus
func NewFocusLeft ¶
func NewFocusLeft() *ChangeFocus
func NewFocusRight ¶
func NewFocusRight() *ChangeFocus
func NewFocusUp ¶
func NewFocusUp() *ChangeFocus
func (*ChangeFocus) Defaults ¶
func (p *ChangeFocus) Defaults() []fmt.Stringer
func (*ChangeFocus) Exec ¶
func (p *ChangeFocus) Exec() error
func (*ChangeFocus) Menu ¶
func (p *ChangeFocus) Menu() string
func (*ChangeFocus) Name ¶
func (p *ChangeFocus) Name() string
func (*ChangeFocus) Reset ¶
func (p *ChangeFocus) Reset()
func (*ChangeFocus) Store ¶
func (p *ChangeFocus) Store(target interface{}) bind.Status
type ChangeTab ¶
type ChangeTab struct {
// contains filtered or unexported fields
}
func NewNextTab ¶
func NewNextTab() *ChangeTab
func NewPrevTab ¶
func NewPrevTab() *ChangeTab
type CloseTab ¶
type CloseTab struct {
// contains filtered or unexported fields
}
func NewCloseTab ¶
func NewCloseTab() *CloseTab
type CurrentEditorCloser ¶
type EditorRedraw ¶
type EditorRedraw struct{}
func (EditorRedraw) Name ¶
func (EditorRedraw) Name() string
func (EditorRedraw) OpName ¶
func (EditorRedraw) OpName() string
type FileOpener ¶
func NewFileOpener ¶
func NewFileOpener(driver gxui.Driver, theme *basic.Theme) *FileOpener
func (*FileOpener) Defaults ¶
func (f *FileOpener) Defaults() []fmt.Stringer
func (*FileOpener) Exec ¶
func (f *FileOpener) Exec() error
func (*FileOpener) Menu ¶
func (f *FileOpener) Menu() string
func (*FileOpener) Name ¶
func (f *FileOpener) Name() string
func (*FileOpener) Next ¶
func (f *FileOpener) Next() gxui.Focusable
func (*FileOpener) Reset ¶
func (f *FileOpener) Reset()
func (*FileOpener) Store ¶
func (f *FileOpener) Store(elem interface{}) bind.Status
type Find ¶
type Find struct { mixins.LinearLayout // contains filtered or unexported fields }
func (*Find) GainedFocus ¶
func (f *Find) GainedFocus()
func (*Find) IsFocusable ¶
func (*Find) KeyDown ¶
func (f *Find) KeyDown(event gxui.KeyboardEvent)
func (*Find) KeyRepeat ¶
func (f *Find) KeyRepeat(event gxui.KeyboardEvent)
func (*Find) KeyUp ¶
func (f *Find) KeyUp(event gxui.KeyboardEvent)
func (*Find) OnGainedFocus ¶
func (f *Find) OnGainedFocus(callback func()) gxui.EventSubscription
func (*Find) OnLostFocus ¶
func (f *Find) OnLostFocus(callback func()) gxui.EventSubscription
type Fullscreen ¶
type Fullscreen struct { }
func (Fullscreen) Defaults ¶
func (f Fullscreen) Defaults() []fmt.Stringer
func (Fullscreen) Exec ¶
func (f Fullscreen) Exec(e interface{}) bind.Status
func (Fullscreen) Menu ¶
func (f Fullscreen) Menu() string
func (Fullscreen) Name ¶
func (f Fullscreen) Name() string
type Fullscreener ¶
type GotoLine ¶
func NewGotoLine ¶
type LabelCreator ¶
type LineControl ¶
type ProjectFinder ¶
type RedrawableEditor ¶
type RuneScroller ¶
type RuneScroller interface {
ScrollToRune(int)
}
type SaveCurrent ¶
func NewSave ¶
func NewSave(theme LabelCreator) *SaveCurrent
func (*SaveCurrent) Bind ¶
func (s *SaveCurrent) Bind(h bind.Bindable) (bind.HookedMultiOp, error)
func (*SaveCurrent) Defaults ¶
func (s *SaveCurrent) Defaults() []fmt.Stringer
func (*SaveCurrent) Exec ¶
func (s *SaveCurrent) Exec() error
func (*SaveCurrent) Menu ¶
func (s *SaveCurrent) Menu() string
func (*SaveCurrent) Name ¶
func (s *SaveCurrent) Name() string
func (*SaveCurrent) Reset ¶
func (s *SaveCurrent) Reset()
func (*SaveCurrent) Store ¶
func (s *SaveCurrent) Store(target interface{}) bind.Status
type SaveEditor ¶
type ScrollDeselect ¶
type ScrollDeselect struct {
Scroll
}
func (*ScrollDeselect) Exec ¶
func (s *ScrollDeselect) Exec() error
type SelectionEditor ¶
type SelectionEditor interface { text.Editor Controller() *gxui.TextBoxController SelectSlice([]gxui.TextSelection) ScrollToRune(int) }
type Split ¶
type Split struct {
// contains filtered or unexported fields
}
func NewHorizontalSplit ¶
func NewHorizontalSplit() *Split
func NewVerticalSplit ¶
func NewVerticalSplit() *Split
type Splitter ¶
type Splitter interface {
Split(gxui.Orientation)
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.