package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 10, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
-
type History
-
func (h *History) Push(buffer *buffer.Buffer, offset int64, cursor int64, tick uint64)
-
func (h *History) Redo() (*buffer.Buffer, int64, int64, uint64)
-
func (h *History) Undo() (*buffer.Buffer, int, int64, int64, uint64)
History manages the buffer history.
NewHistory creates a new history manager.
Push a new buffer to the history.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.