Documentation
¶
Index ¶
- type Editor
- type EditorAddedEvent
- type EditorModifiedEvent
- type EditorRemovedEvent
- type EditorSelectedEvent
- type Model
- func (m *Model) AppendEditor(editor Editor)
- func (m *Model) EachEditor(cb func(editor Editor))
- func (m *Model) Editors() []Editor
- func (m *Model) FindEditor(id string) Editor
- func (m Model) IsDirty() bool
- func (m *Model) RemoveEditor(editor Editor)
- func (m *Model) SelectedEditor() Editor
- func (m *Model) SelectedID() string
- func (m *Model) SetSelectedID(id string)
- type NoSaveEditor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EditorAddedEvent ¶
type EditorModifiedEvent ¶
type EditorModifiedEvent struct {
Editor Editor
}
type EditorRemovedEvent ¶
type EditorSelectedEvent ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) AppendEditor ¶
func (*Model) EachEditor ¶
func (*Model) FindEditor ¶
func (*Model) RemoveEditor ¶
func (*Model) SelectedEditor ¶
func (*Model) SelectedID ¶
func (*Model) SetSelectedID ¶
type NoSaveEditor ¶
type NoSaveEditor struct{}
func (NoSaveEditor) CanSave ¶
func (NoSaveEditor) CanSave() bool
func (NoSaveEditor) Save ¶
func (NoSaveEditor) Save() error
Click to show internal directories.
Click to hide internal directories.