hist

package
v0.0.0-...-5a72617 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chunk

type Chunk struct {
	Text string
	Sel  address.Selection
}

func (Chunk) String

func (c Chunk) String() string

type History

type History struct {
	// contains filtered or unexported fields
}

func (*History) CanRedo

func (h *History) CanRedo() bool

func (*History) CanUndo

func (h *History) CanUndo() bool

func (*History) Commit

func (h *History) Commit()

func (*History) Current

func (h *History) Current() *Transformation

func (*History) Redo

func (h *History) Redo() (Chunk, bool)

func (*History) Undo

func (h *History) Undo() (Chunk, bool)

type Transformation

type Transformation struct {
	Pre, Post Chunk
	// contains filtered or unexported fields
}

func (*Transformation) String

func (t *Transformation) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL