Documentation ¶
Index ¶
- Variables
- func Initialize()
- type Buffer
- func (b *Buffer) GetLines() *linearray.LineArray
- func (b *Buffer) LinesInDisplay() int
- func (b *Buffer) Mark() linearray.Loc
- func (b *Buffer) Mode() interfaces.EditorMode
- func (b *Buffer) Point() linearray.Loc
- func (b *Buffer) Redo()
- func (b *Buffer) RestoreSnapshot(snap *bufferSnapshot)
- func (b *Buffer) ScrollPosition() int
- func (b *Buffer) SetLinesInDisplay(v int)
- func (b *Buffer) SetMark(l linearray.Loc)
- func (b *Buffer) SetPoint(l linearray.Loc)
- func (b *Buffer) SetScrollPosition(v int)
- func (b *Buffer) TakeSnapshot(willChangeContents bool)
- func (b *Buffer) Undo()
- type BufferData
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OpenBuffers []*Buffer
)
Functions ¶
func Initialize ¶
func Initialize()
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
func (*Buffer) LinesInDisplay ¶
func (*Buffer) Mode ¶
func (b *Buffer) Mode() interfaces.EditorMode
func (*Buffer) RestoreSnapshot ¶
func (b *Buffer) RestoreSnapshot(snap *bufferSnapshot)
func (*Buffer) ScrollPosition ¶
func (*Buffer) SetLinesInDisplay ¶
func (*Buffer) SetScrollPosition ¶
func (*Buffer) TakeSnapshot ¶
type BufferData ¶
type BufferData struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.