Versions in this module Expand all Collapse all v0 v0.1.0 Sep 4, 2025 Changes in this version + const DELETE + const INSERT + const MiniBufferMode + const MiniBufferMultilineMode + const NoMiniBufferMode + var BufferSets *buffer.BufferSets + var Marks = mark.NewMarks() + func NewView() tree.View + type BoundariesArray struct + func NewBoundariesArray(editor *Editor) BoundariesArray + func (b *BoundariesArray) BoundariesLen(rowIndex int) int + func (b *BoundariesArray) Boundary(rowIndex, logicalRowIndex int) Boundary + func (b *BoundariesArray) ClearAll() + func (b *BoundariesArray) Delete(rowIndex, count int) error + func (b *BoundariesArray) Insert(rowIndex, count int) + func (b *BoundariesArray) LastBoundary(rowIndex int) Boundary + func (b *BoundariesArray) Len() int + func (b *BoundariesArray) Set(rowIndex int, bs []Boundary) + type Boundary struct + StartIndex int + StopIndex int + TotalWidth int + Width int + func (b *Boundary) Clear() + func (b *Boundary) IsEmpty() bool + type Editor struct + func (e *Editor) Autoindent() + func (e *Editor) ChangeFilePath(path string) + func (e *Editor) CharInfo() + func (e *Editor) CopyRegion() + func (e *Editor) DeleteRune() + func (e *Editor) DeleteRuneBackward() + func (e *Editor) Draw() + func (e *Editor) Event(tev *tcell.Event) *tcell.Event + func (e *Editor) GetBuffers() *buffer.BufferSets + func (e *Editor) GetFindIndexes() []foundPosition + func (e *Editor) Init() + func (e *Editor) InsertRune(ch rune) + func (e *Editor) InsertString(s string) + func (e *Editor) InsertTab() + func (e *Editor) Kill(leaf *tree.Leaf, isActive bool) *tree.Leaf + func (e *Editor) KillLine() + func (e *Editor) KillRegion() + func (e *Editor) MiniBufferMode(mode int) + func (e *Editor) MoveCursorBackward() + func (e *Editor) MoveCursorBeginningOfFile() + func (e *Editor) MoveCursorBeginningOfLine() + func (e *Editor) MoveCursorBeginningOfLogicalLine() + func (e *Editor) MoveCursorEndOfFile() + func (e *Editor) MoveCursorEndOfLine() + func (e *Editor) MoveCursorEndOfLogicalLine() + func (e *Editor) MoveCursorForward() + func (e *Editor) MoveCursorNextLine() + func (e *Editor) MoveCursorNextWord() + func (e *Editor) MoveCursorPrevLine() + func (e *Editor) MoveCursorPreviousWord() + func (e *Editor) MoveCursorToLine(lineNumber int) + func (e *Editor) MoveNextFoundWord() + func (e *Editor) MovePrevFoundWord() + func (e *Editor) MoveViewHalfBackward() + func (e *Editor) MoveViewHalfForward() + func (e *Editor) OpenFile(path string) error + func (e *Editor) Redo() + func (e *Editor) Redraw() + func (e *Editor) ReplaceCurrentSearchString(str string) + func (e *Editor) Resize(viewArea utils.Rect) + func (e *Editor) Resume() + func (e *Editor) SaveFile() + func (e *Editor) SearchRegexp(searchTerm string, caseSensitive bool, ctx context.Context) + func (e *Editor) SearchText(text string, caseSensitive, isRegexp bool, ctx context.Context, ...) + func (e *Editor) SetFile(ff *file.File) + func (e *Editor) SetMark() + func (e *Editor) SwapCursorAndMark() + func (e *Editor) Undo() + func (e *Editor) View() *tree.View + func (e *Editor) ViewActive(a bool) + func (e *Editor) WillClose() + func (e *Editor) Yank() + func (e *Editor) YankFromClipboard() + func (e Editor) BackwardKillLine() + type Number interface + type View struct + func (v *View) Name() string + func (v *View) NewLeaf() *tree.Leaf + func (v *View) NewSiblingLeaf(direction string, leaf *tree.Leaf) *tree.Leaf