Documentation ¶
Index ¶
- type HistTracker
- type History
- func (h *History) Name(context.Context) string
- func (h *History) Redo(context.Context) input.Operation
- func (h *History) Run(ctx context.Context, b input.Binder) error
- func (h *History) TrackState(ctx context.Context, b input.Binder, state text.State)
- func (h *History) Type(input.Operation)
- func (h *History) Undo(context.Context) input.Operation
- type OnEdit
- func (e OnEdit) FileOpened(ctx context.Context, b input.Binder)
- func (e OnEdit) Name(context.Context) string
- func (e OnEdit) OpNames(context.Context) []string
- func (e OnEdit) TextJustChanged(ctx context.Context, b input.Binder, _ ...)
- func (e OnEdit) Type(input.Hook)
- func (e OnEdit) Valid(_ context.Context, b input.Binder) error
- type Redo
- type Redoer
- type Restorer
- type Stater
- type Undo
- type Undoer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistTracker ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
func (*History) TrackState ¶
Click to show internal directories.
Click to hide internal directories.