SYMBOL INDEX (1331 symbols across 92 files) FILE: cmd/micro/clean.go function shouldContinue (line 18) | func shouldContinue() bool { function CleanConfig (line 33) | func CleanConfig() { FILE: cmd/micro/debug.go type NullWriter (line 11) | type NullWriter struct method Write (line 14) | func (NullWriter) Write(data []byte) (n int, err error) { function InitLog (line 19) | func InitLog() { FILE: cmd/micro/initlua.go function init (line 20) | func init() { function LuaImport (line 26) | func LuaImport(pkg string) *lua.LTable { function luaImportMicro (line 43) | func luaImportMicro() *lua.LTable { function luaImportMicroConfig (line 67) | func luaImportMicroConfig() *lua.LTable { function luaImportMicroShell (line 98) | func luaImportMicroShell() *lua.LTable { function luaImportMicroBuffer (line 115) | func luaImportMicroBuffer() *lua.LTable { function luaImportMicroUtil (line 148) | func luaImportMicroUtil() *lua.LTable { FILE: cmd/micro/micro.go function InitFlags (line 48) | func InitFlags() { function DoPluginFlags (line 131) | func DoPluginFlags() { function LoadInput (line 149) | func LoadInput(args []string) []*buffer.Buffer { function checkBackup (line 250) | func checkBackup(name string) error { function exit (line 279) | func exit(rc int) { function main (line 293) | func main() { function DoEvent (line 487) | func DoEvent() { FILE: cmd/micro/micro_test.go function init (line 21) | func init() { function startup (line 25) | func startup(args []string) (tcell.SimulationScreen, error) { function cleanup (line 102) | func cleanup() { function handleEvent (line 106) | func handleEvent() { function injectKey (line 119) | func injectKey(key tcell.Key, r rune, mod tcell.ModMask) { function injectMouse (line 124) | func injectMouse(x, y int, buttons tcell.ButtonMask, mod tcell.ModMask) { function injectString (line 129) | func injectString(str string) { function openFile (line 152) | func openFile(file string) { function findBuffer (line 158) | func findBuffer(file string) *buffer.Buffer { function createTestFile (line 168) | func createTestFile(t *testing.T, content string) string { function TestMain (line 186) | func TestMain(m *testing.M) { function TestSimpleEdit (line 199) | func TestSimpleEdit(t *testing.T) { function TestMouse (line 231) | func TestMouse(t *testing.T) { function TestSearchAndReplace (line 292) | func TestSearchAndReplace(t *testing.T) { function TestMultiCursor (line 330) | func TestMultiCursor(t *testing.T) { function TestSettingsPersistence (line 334) | func TestSettingsPersistence(t *testing.T) { FILE: internal/action/actions.go method ScrollUp (line 25) | func (h *BufPane) ScrollUp(n int) { method ScrollDown (line 32) | func (h *BufPane) ScrollDown(n int) { method ScrollAdjust (line 40) | func (h *BufPane) ScrollAdjust() { method ScrollReachedEnd (line 51) | func (h *BufPane) ScrollReachedEnd() bool { method MousePress (line 59) | func (h *BufPane) MousePress(e *tcell.EventMouse) bool { method MouseDrag (line 111) | func (h *BufPane) MouseDrag(e *tcell.EventMouse) bool { method MouseRelease (line 132) | func (h *BufPane) MouseRelease(e *tcell.EventMouse) bool { method ScrollUpAction (line 151) | func (h *BufPane) ScrollUpAction() bool { method ScrollDownAction (line 157) | func (h *BufPane) ScrollDownAction() bool { method Center (line 163) | func (h *BufPane) Center() bool { method CursorToViewTop (line 173) | func (h *BufPane) CursorToViewTop() bool { method CursorToViewCenter (line 189) | func (h *BufPane) CursorToViewCenter() bool { method CursorToViewBottom (line 201) | func (h *BufPane) CursorToViewBottom() bool { method MoveCursorUp (line 218) | func (h *BufPane) MoveCursorUp(n int) { method MoveCursorDown (line 237) | func (h *BufPane) MoveCursorDown(n int) { method CursorUp (line 256) | func (h *BufPane) CursorUp() bool { method CursorDown (line 264) | func (h *BufPane) CursorDown() bool { method CursorLeft (line 277) | func (h *BufPane) CursorLeft() bool { method CursorRight (line 302) | func (h *BufPane) CursorRight() bool { method WordRight (line 328) | func (h *BufPane) WordRight() bool { method WordLeft (line 336) | func (h *BufPane) WordLeft() bool { method SubWordRight (line 344) | func (h *BufPane) SubWordRight() bool { method SubWordLeft (line 352) | func (h *BufPane) SubWordLeft() bool { method SelectUp (line 360) | func (h *BufPane) SelectUp() bool { method SelectDown (line 371) | func (h *BufPane) SelectDown() bool { method SelectLeft (line 382) | func (h *BufPane) SelectLeft() bool { method SelectRight (line 398) | func (h *BufPane) SelectRight() bool { method SelectWordRight (line 414) | func (h *BufPane) SelectWordRight() bool { method SelectWordLeft (line 425) | func (h *BufPane) SelectWordLeft() bool { method SelectSubWordRight (line 436) | func (h *BufPane) SelectSubWordRight() bool { method SelectSubWordLeft (line 447) | func (h *BufPane) SelectSubWordLeft() bool { method StartOfText (line 458) | func (h *BufPane) StartOfText() bool { method StartOfTextToggle (line 467) | func (h *BufPane) StartOfTextToggle() bool { method StartOfLine (line 479) | func (h *BufPane) StartOfLine() bool { method EndOfLine (line 487) | func (h *BufPane) EndOfLine() bool { method SelectLine (line 495) | func (h *BufPane) SelectLine() bool { method SelectToStartOfText (line 502) | func (h *BufPane) SelectToStartOfText() bool { method SelectToStartOfTextToggle (line 514) | func (h *BufPane) SelectToStartOfTextToggle() bool { method SelectToStartOfLine (line 529) | func (h *BufPane) SelectToStartOfLine() bool { method SelectToEndOfLine (line 540) | func (h *BufPane) SelectToEndOfLine() bool { method paragraphPrevious (line 550) | func (h *BufPane) paragraphPrevious() { method paragraphNext (line 572) | func (h *BufPane) paragraphNext() { method ParagraphPrevious (line 597) | func (h *BufPane) ParagraphPrevious() bool { method ParagraphNext (line 607) | func (h *BufPane) ParagraphNext() bool { method SelectToParagraphPrevious (line 617) | func (h *BufPane) SelectToParagraphPrevious() bool { method SelectToParagraphNext (line 630) | func (h *BufPane) SelectToParagraphNext() bool { method Retab (line 642) | func (h *BufPane) Retab() bool { method CursorStart (line 649) | func (h *BufPane) CursorStart() bool { method CursorEnd (line 659) | func (h *BufPane) CursorEnd() bool { method SelectToStart (line 668) | func (h *BufPane) SelectToStart() bool { method SelectToEnd (line 679) | func (h *BufPane) SelectToEnd() bool { method InsertNewline (line 690) | func (h *BufPane) InsertNewline() bool { method Backspace (line 723) | func (h *BufPane) Backspace() bool { method DeleteWordRight (line 753) | func (h *BufPane) DeleteWordRight() bool { method DeleteWordLeft (line 764) | func (h *BufPane) DeleteWordLeft() bool { method DeleteSubWordRight (line 775) | func (h *BufPane) DeleteSubWordRight() bool { method DeleteSubWordLeft (line 786) | func (h *BufPane) DeleteSubWordLeft() bool { method Delete (line 797) | func (h *BufPane) Delete() bool { method IndentSelection (line 812) | func (h *BufPane) IndentSelection() bool { method IndentLine (line 847) | func (h *BufPane) IndentLine() bool { method OutdentLine (line 861) | func (h *BufPane) OutdentLine() bool { method OutdentSelection (line 878) | func (h *BufPane) OutdentSelection() bool { method Autocomplete (line 907) | func (h *BufPane) Autocomplete() bool { method CycleAutocompleteBack (line 933) | func (h *BufPane) CycleAutocompleteBack() bool { method InsertTab (line 946) | func (h *BufPane) InsertTab() bool { method SaveAll (line 957) | func (h *BufPane) SaveAll() bool { method SaveCB (line 965) | func (h *BufPane) SaveCB(action string, callback func()) bool { method Save (line 979) | func (h *BufPane) Save() bool { method SaveAsCB (line 985) | func (h *BufPane) SaveAsCB(action string, callback func()) bool { method SaveAs (line 1030) | func (h *BufPane) SaveAs() bool { method saveBufToFile (line 1037) | func (h *BufPane) saveBufToFile(filename string, action string, callback... method Find (line 1084) | func (h *BufPane) Find() bool { method FindLiteral (line 1089) | func (h *BufPane) FindLiteral() bool { method Search (line 1099) | func (h *BufPane) Search(str string, useRegex bool, searchDown bool) err... method find (line 1119) | func (h *BufPane) find(useRegex bool) bool { method ToggleHighlightSearch (line 1179) | func (h *BufPane) ToggleHighlightSearch() bool { method UnhighlightSearch (line 1185) | func (h *BufPane) UnhighlightSearch() bool { method ResetSearch (line 1194) | func (h *BufPane) ResetSearch() bool { method FindNext (line 1203) | func (h *BufPane) FindNext() bool { method FindPrevious (line 1240) | func (h *BufPane) FindPrevious() bool { method DiffNext (line 1277) | func (h *BufPane) DiffNext() bool { method DiffPrevious (line 1288) | func (h *BufPane) DiffPrevious() bool { method Undo (line 1299) | func (h *BufPane) Undo() bool { method Redo (line 1309) | func (h *BufPane) Redo() bool { method selectLines (line 1318) | func (h *BufPane) selectLines() int { method Copy (line 1345) | func (h *BufPane) Copy() bool { method CopyLine (line 1358) | func (h *BufPane) CopyLine() bool { method Cut (line 1385) | func (h *BufPane) Cut() bool { method CutLine (line 1401) | func (h *BufPane) CutLine() bool { method Duplicate (line 1432) | func (h *BufPane) Duplicate() bool { method DuplicateLine (line 1444) | func (h *BufPane) DuplicateLine() bool { method DeleteLine (line 1488) | func (h *BufPane) DeleteLine() bool { method MoveLinesUp (line 1506) | func (h *BufPane) MoveLinesUp() bool { method MoveLinesDown (line 1550) | func (h *BufPane) MoveLinesDown() bool { method Paste (line 1589) | func (h *BufPane) Paste() bool { method PastePrimary (line 1601) | func (h *BufPane) PastePrimary() bool { method paste (line 1612) | func (h *BufPane) paste(clip string) { method JumpToMatchingBrace (line 1637) | func (h *BufPane) JumpToMatchingBrace() bool { method SelectAll (line 1656) | func (h *BufPane) SelectAll() bool { method OpenFile (line 1667) | func (h *BufPane) OpenFile() bool { method JumpLine (line 1677) | func (h *BufPane) JumpLine() bool { method Start (line 1687) | func (h *BufPane) Start() bool { method End (line 1695) | func (h *BufPane) End() bool { method PageUp (line 1703) | func (h *BufPane) PageUp() bool { method PageDown (line 1710) | func (h *BufPane) PageDown() bool { method SelectPageUp (line 1718) | func (h *BufPane) SelectPageUp() bool { method SelectPageDown (line 1734) | func (h *BufPane) SelectPageDown() bool { method CursorPageUp (line 1752) | func (h *BufPane) CursorPageUp() bool { method CursorPageDown (line 1766) | func (h *BufPane) CursorPageDown() bool { method HalfPageUp (line 1787) | func (h *BufPane) HalfPageUp() bool { method HalfPageDown (line 1793) | func (h *BufPane) HalfPageDown() bool { method ToggleDiffGutter (line 1800) | func (h *BufPane) ToggleDiffGutter() bool { method ToggleRuler (line 1813) | func (h *BufPane) ToggleRuler() bool { method ClearStatus (line 1825) | func (h *BufPane) ClearStatus() bool { method ToggleHelp (line 1830) | func (h *BufPane) ToggleHelp() bool { method ToggleKeyMenu (line 1841) | func (h *BufPane) ToggleKeyMenu() bool { method ShellMode (line 1848) | func (h *BufPane) ShellMode() bool { method CommandMode (line 1860) | func (h *BufPane) CommandMode() bool { method ToggleOverwriteMode (line 1870) | func (h *BufPane) ToggleOverwriteMode() bool { method Escape (line 1876) | func (h *BufPane) Escape() bool { method Deselect (line 1881) | func (h *BufPane) Deselect() bool { method ClearInfo (line 1890) | func (h *BufPane) ClearInfo() bool { method ForceQuit (line 1900) | func (h *BufPane) ForceQuit() bool { method closePrompt (line 1916) | func (h *BufPane) closePrompt(action string, callback func()) { method Quit (line 1927) | func (h *BufPane) Quit() bool { method QuitAll (line 1946) | func (h *BufPane) QuitAll() bool { method AddTab (line 1976) | func (h *BufPane) AddTab() bool { method PreviousTab (line 1988) | func (h *BufPane) PreviousTab() bool { method NextTab (line 1997) | func (h *BufPane) NextTab() bool { method FirstTab (line 2006) | func (h *BufPane) FirstTab() bool { method LastTab (line 2015) | func (h *BufPane) LastTab() bool { method VSplitAction (line 2025) | func (h *BufPane) VSplitAction() bool { method HSplitAction (line 2032) | func (h *BufPane) HSplitAction() bool { method Unsplit (line 2039) | func (h *BufPane) Unsplit() bool { method NextSplit (line 2054) | func (h *BufPane) NextSplit() bool { method PreviousSplit (line 2063) | func (h *BufPane) PreviousSplit() bool { method FirstSplit (line 2072) | func (h *BufPane) FirstSplit() bool { method LastSplit (line 2081) | func (h *BufPane) LastSplit() bool { method ToggleMacro (line 2094) | func (h *BufPane) ToggleMacro() bool { method PlayMacro (line 2107) | func (h *BufPane) PlayMacro() bool { method SpawnMultiCursor (line 2124) | func (h *BufPane) SpawnMultiCursor() bool { method SpawnCursorAtLoc (line 2165) | func (h *BufPane) SpawnCursorAtLoc(loc buffer.Loc) *buffer.Cursor { method SpawnMultiCursorUpN (line 2173) | func (h *BufPane) SpawnMultiCursorUpN(n int) bool { method SpawnMultiCursorUp (line 2199) | func (h *BufPane) SpawnMultiCursorUp() bool { method SpawnMultiCursorDown (line 2204) | func (h *BufPane) SpawnMultiCursorDown() bool { method SpawnMultiCursorSelect (line 2209) | func (h *BufPane) SpawnMultiCursorSelect() bool { method MouseMultiCursor (line 2244) | func (h *BufPane) MouseMultiCursor(e *tcell.EventMouse) bool { method skipMultiCursor (line 2270) | func (h *BufPane) skipMultiCursor(forward bool) bool { method SkipMultiCursor (line 2308) | func (h *BufPane) SkipMultiCursor() bool { method SkipMultiCursorBack (line 2313) | func (h *BufPane) SkipMultiCursorBack() bool { method RemoveMultiCursor (line 2318) | func (h *BufPane) RemoveMultiCursor() bool { method RemoveAllMultiCursors (line 2334) | func (h *BufPane) RemoveAllMultiCursors() bool { method None (line 2346) | func (h *BufPane) None() bool { FILE: internal/action/actions_other.go method Suspend (line 5) | func (*BufPane) Suspend() bool { FILE: internal/action/actions_posix.go method Suspend (line 14) | func (*BufPane) Suspend() bool { FILE: internal/action/bindings.go function writeFile (line 27) | func writeFile(name string, txt []byte) error { function createBindingsIfNotExist (line 31) | func createBindingsIfNotExist(fname string) { function InitBindings (line 38) | func InitBindings() { function BindKey (line 89) | func BindKey(k, v string, bind func(e Event, a string)) { function findEvents (line 116) | func findEvents(k string) (b KeySequenceEvent, ok bool, err error) { function findSingleEvent (line 143) | func findSingleEvent(k string) (b Event, ok bool) { function findEvent (line 229) | func findEvent(k string) (Event, error) { function eventsEqual (line 246) | func eventsEqual(e1 Event, e2 Event) bool { function TryBindKeyPlug (line 266) | func TryBindKeyPlug(k, v string, overwrite bool) (bool, error) { function TryBindKey (line 275) | func TryBindKey(k, v string, overwrite bool, writeToFile bool) (bool, er... function UnbindKey (line 333) | func UnbindKey(k string) error { FILE: internal/action/bufpane.go type BufAction (line 19) | type BufAction type BufKeyAction (line 22) | type BufKeyAction type BufMouseAction (line 25) | type BufMouseAction function BufKeyActionGeneral (line 31) | func BufKeyActionGeneral(a BufKeyAction) PaneKeyAction { function BufMouseActionGeneral (line 38) | func BufMouseActionGeneral(a BufMouseAction) PaneMouseAction { function init (line 44) | func init() { function LuaAction (line 50) | func LuaAction(fn string, k Event) BufAction { function BufMapEvent (line 92) | func BufMapEvent(k Event, action string) { function BufUnmap (line 191) | func BufUnmap(k Event) { type BufPane (line 206) | type BufPane struct method finishInitialize (line 289) | func (h *BufPane) finishInitialize() { method Resize (line 300) | func (h *BufPane) Resize(width, height int) { method SetTab (line 308) | func (h *BufPane) SetTab(t *Tab) { method Tab (line 313) | func (h *BufPane) Tab() *Tab { method ResizePane (line 317) | func (h *BufPane) ResizePane(size int) { method PluginCB (line 327) | func (h *BufPane) PluginCB(cb string, args ...any) bool { method resetMouse (line 340) | func (h *BufPane) resetMouse() { method OpenBuffer (line 347) | func (h *BufPane) OpenBuffer(b *buffer.Buffer) { method GotoLoc (line 362) | func (h *BufPane) GotoLoc(loc buffer.Loc) { method initialRelocate (line 380) | func (h *BufPane) initialRelocate() { method ID (line 398) | func (h *BufPane) ID() uint64 { method SetID (line 403) | func (h *BufPane) SetID(i uint64) { method Name (line 408) | func (h *BufPane) Name() string { method ReOpen (line 417) | func (h *BufPane) ReOpen() { method getReloadSetting (line 422) | func (h *BufPane) getReloadSetting() string { method HandleEvent (line 428) | func (h *BufPane) HandleEvent(event tcell.Event) { method Bindings (line 530) | func (h *BufPane) Bindings() *KeyTree { method DoKeyEvent (line 542) | func (h *BufPane) DoKeyEvent(e Event) bool { method execAction (line 555) | func (h *BufPane) execAction(action BufAction, name string, te *tcell.... method completeAction (line 584) | func (h *BufPane) completeAction(action string) { method HasKeyEvent (line 588) | func (h *BufPane) HasKeyEvent(e Event) bool { method DoMouseEvent (line 597) | func (h *BufPane) DoMouseEvent(e MouseEvent, te *tcell.EventMouse) bool { method DoRuneInsert (line 621) | func (h *BufPane) DoRuneInsert(r rune) { method VSplitIndex (line 651) | func (h *BufPane) VSplitIndex(buf *buffer.Buffer, right bool) *BufPane { method HSplitIndex (line 665) | func (h *BufPane) HSplitIndex(buf *buffer.Buffer, bottom bool) *BufPane { method VSplitBuf (line 679) | func (h *BufPane) VSplitBuf(buf *buffer.Buffer) *BufPane { method HSplitBuf (line 684) | func (h *BufPane) HSplitBuf(buf *buffer.Buffer) *BufPane { method Close (line 689) | func (h *BufPane) Close() { method SetActive (line 694) | func (h *BufPane) SetActive(b bool) { function newBufPane (line 259) | func newBufPane(buf *buffer.Buffer, win display.BWindow, tab *Tab) *BufP... function NewBufPane (line 272) | func NewBufPane(buf *buffer.Buffer, win display.BWindow, tab *Tab) *BufP... function NewBufPaneFromBuf (line 280) | func NewBufPaneFromBuf(buf *buffer.Buffer, tab *Tab) *BufPane { FILE: internal/action/command.go type Command (line 26) | type Command struct function InitCommands (line 33) | func InitCommands() { function MakeCommand (line 75) | func MakeCommand(name string, action func(bp *BufPane, args []string), c... function CommandEditAction (line 84) | func CommandEditAction(prompt string) BufKeyAction { function CommandAction (line 97) | func CommandAction(cmd string) BufKeyAction { method PluginCmd (line 107) | func (h *BufPane) PluginCmd(args []string) { method RetabCmd (line 122) | func (h *BufPane) RetabCmd(args []string) { method RawCmd (line 128) | func (h *BufPane) RawCmd(args []string) { method TextFilterCmd (line 139) | func (h *BufPane) TextFilterCmd(args []string) { method TabMoveCmd (line 180) | func (h *BufPane) TabMoveCmd(args []string) { method TabSwitchCmd (line 230) | func (h *BufPane) TabSwitchCmd(args []string) { method CdCmd (line 258) | func (h *BufPane) CdCmd(args []string) { method MemUsageCmd (line 289) | func (h *BufPane) MemUsageCmd(args []string) { method PwdCmd (line 294) | func (h *BufPane) PwdCmd(args []string) { method OpenCmd (line 304) | func (h *BufPane) OpenCmd(args []string) { method ToggleLogCmd (line 325) | func (h *BufPane) ToggleLogCmd(args []string) { method ReloadCmd (line 334) | func (h *BufPane) ReloadCmd(args []string) { function ReloadConfig (line 339) | func ReloadConfig() { function reloadRuntime (line 343) | func reloadRuntime(reloadPlugins bool) { method ReopenCmd (line 415) | func (h *BufPane) ReopenCmd(args []string) { method openHelp (line 430) | func (h *BufPane) openHelp(page string, hsplit bool, forceSplit bool) er... method HelpCmd (line 454) | func (h *BufPane) HelpCmd(args []string) { method VSplitCmd (line 508) | func (h *BufPane) VSplitCmd(args []string) { method HSplitCmd (line 528) | func (h *BufPane) HSplitCmd(args []string) { method EvalCmd (line 547) | func (h *BufPane) EvalCmd(args []string) { method NewTabCmd (line 553) | func (h *BufPane) NewTabCmd(args []string) { function doSetGlobalOptionNative (line 575) | func doSetGlobalOptionNative(option string, nativeValue any) error { function SetGlobalOptionNative (line 634) | func SetGlobalOptionNative(option string, nativeValue any, writeToFile b... function SetGlobalOption (line 673) | func SetGlobalOption(option, value string, writeToFile bool) error { function SetGlobalOptionNativePlug (line 686) | func SetGlobalOptionNativePlug(option string, nativeValue any) error { function SetGlobalOptionPlug (line 690) | func SetGlobalOptionPlug(option, value string) error { method ResetCmd (line 695) | func (h *BufPane) ResetCmd(args []string) { method SetCmd (line 712) | func (h *BufPane) SetCmd(args []string) { method SetLocalCmd (line 733) | func (h *BufPane) SetLocalCmd(args []string) { method toggleOption (line 748) | func (h *BufPane) toggleOption(option string, local bool) error { method ToggleCmd (line 786) | func (h *BufPane) ToggleCmd(args []string) { method ToggleLocalCmd (line 797) | func (h *BufPane) ToggleLocalCmd(args []string) { method ShowCmd (line 808) | func (h *BufPane) ShowCmd(args []string) { function parseKeyArg (line 829) | func parseKeyArg(arg string) string { method ShowKeyCmd (line 835) | func (h *BufPane) ShowKeyCmd(args []string) { method BindCmd (line 854) | func (h *BufPane) BindCmd(args []string) { method UnbindCmd (line 871) | func (h *BufPane) UnbindCmd(args []string) { method RunCmd (line 888) | func (h *BufPane) RunCmd(args []string) { method QuitCmd (line 901) | func (h *BufPane) QuitCmd(args []string) { method GotoCmd (line 908) | func (h *BufPane) GotoCmd(args []string) { method JumpCmd (line 929) | func (h *BufPane) JumpCmd(args []string) { method parseLineCol (line 946) | func (h *BufPane) parseLineCol(args []string) (line int, col int, err er... method SaveCmd (line 973) | func (h *BufPane) SaveCmd(args []string) { method ReplaceCmd (line 982) | func (h *BufPane) ReplaceCmd(args []string) { method ReplaceAllCmd (line 1131) | func (h *BufPane) ReplaceAllCmd(args []string) { method openTerm (line 1136) | func (h *BufPane) openTerm(args []string, newtab bool) { method TermCmd (line 1171) | func (h *BufPane) TermCmd(args []string) { method HandleCommand (line 1203) | func (h *BufPane) HandleCommand(input string) { FILE: internal/action/defaults.go function DefaultBindings (line 10) | func DefaultBindings(pane string) map[string]string { FILE: internal/action/events.go type Event (line 12) | type Event interface type RawEvent (line 19) | type RawEvent struct method Name (line 23) | func (r RawEvent) Name() string { type KeyEvent (line 32) | type KeyEvent struct method Name (line 58) | func (k KeyEvent) Name() string { function metaToAlt (line 39) | func metaToAlt(mod tcell.ModMask) tcell.ModMask { function keyEvent (line 47) | func keyEvent(e *tcell.EventKey) KeyEvent { type KeySequenceEvent (line 100) | type KeySequenceEvent struct method Name (line 104) | func (k KeySequenceEvent) Name() string { type MouseState (line 114) | type MouseState constant MousePress (line 117) | MousePress = iota constant MouseDrag (line 118) | MouseDrag constant MouseRelease (line 119) | MouseRelease type MouseEvent (line 124) | type MouseEvent struct method Name (line 130) | func (m MouseEvent) Name() string { function ConstructEvent (line 166) | func ConstructEvent(event tcell.Event) (Event, error) { type Handler (line 185) | type Handler interface FILE: internal/action/globals.go function InitGlobals (line 12) | func InitGlobals() { function GetInfoBar (line 19) | func GetInfoBar() *InfoPane { function WriteLog (line 24) | func WriteLog(s string) { method OpenLogBuf (line 34) | func (h *BufPane) OpenLogBuf() { FILE: internal/action/infocomplete.go function CommandComplete (line 19) | func CommandComplete(b *buffer.Buffer) ([]string, []string) { function HelpComplete (line 40) | func HelpComplete(b *buffer.Buffer) ([]string, []string) { function colorschemeComplete (line 63) | func colorschemeComplete(input string) (string, []string) { function filetypeComplete (line 82) | func filetypeComplete(input string) (string, []string) { function OptionComplete (line 139) | func OptionComplete(b *buffer.Buffer) ([]string, []string) { function OptionValueComplete (line 164) | func OptionValueComplete(b *buffer.Buffer) ([]string, []string) { function PluginCmdComplete (line 253) | func PluginCmdComplete(b *buffer.Buffer) ([]string, []string) { function PluginComplete (line 273) | func PluginComplete(b *buffer.Buffer) ([]string, []string) { FILE: internal/action/infopane.go type InfoKeyAction (line 14) | type InfoKeyAction function init (line 19) | func init() { function InfoMapEvent (line 24) | func InfoMapEvent(k Event, action string) { function infoMapKey (line 35) | func infoMapKey(k Event, action string) { function infoMapMouse (line 43) | func infoMapMouse(k MouseEvent, action string) { function InfoKeyActionGeneral (line 52) | func InfoKeyActionGeneral(a InfoKeyAction) PaneKeyAction { type InfoPane (line 59) | type InfoPane struct method Close (line 79) | func (h *InfoPane) Close() { method HandleEvent (line 84) | func (h *InfoPane) HandleEvent(event tcell.Event) { method DoKeyEvent (line 129) | func (h *InfoPane) DoKeyEvent(e KeyEvent) bool { method HistoryUp (line 170) | func (h *InfoPane) HistoryUp() { method HistoryDown (line 175) | func (h *InfoPane) HistoryDown() { method HistorySearchUp (line 181) | func (h *InfoPane) HistorySearchUp() { method HistorySearchDown (line 187) | func (h *InfoPane) HistorySearchDown() { method CommandComplete (line 192) | func (h *InfoPane) CommandComplete() { method ExecuteCommand (line 221) | func (h *InfoPane) ExecuteCommand() { method AbortCommand (line 228) | func (h *InfoPane) AbortCommand() { function NewInfoPane (line 64) | func NewInfoPane(ib *info.InfoBuf, w display.BWindow, tab *Tab) *InfoPane { function NewInfoBar (line 73) | func NewInfoBar() *InfoPane { FILE: internal/action/keytree.go type PaneKeyAction (line 9) | type PaneKeyAction type PaneMouseAction (line 10) | type PaneMouseAction type PaneKeyAnyAction (line 11) | type PaneKeyAnyAction type KeyTreeNode (line 17) | type KeyTreeNode struct function NewKeyTreeNode (line 27) | func NewKeyTreeNode() *KeyTreeNode { type TreeAction (line 36) | type TreeAction struct type KeyTree (line 49) | type KeyTree struct method RegisterKeyBinding (line 111) | func (k *KeyTree) RegisterKeyBinding(e Event, a PaneKeyAction) { method RegisterKeyAnyBinding (line 122) | func (k *KeyTree) RegisterKeyAnyBinding(e Event, a PaneKeyAnyAction) { method RegisterMouseBinding (line 133) | func (k *KeyTree) RegisterMouseBinding(e Event, a PaneMouseAction) { method registerBinding (line 142) | func (k *KeyTree) registerBinding(e Event, a TreeAction) { method NextEvent (line 179) | func (k *KeyTree) NextEvent(e Event, mouse *tcell.EventMouse) (PaneKey... method ResetEvents (line 225) | func (k *KeyTree) ResetEvents() { method RecordedEventsStr (line 233) | func (k *KeyTree) RecordedEventsStr() string { method DeleteBinding (line 243) | func (k *KeyTree) DeleteBinding(e Event) { method DeleteAllBindings (line 249) | func (k *KeyTree) DeleteAllBindings(e Event) { method SetMode (line 254) | func (k *KeyTree) SetMode(mode string, en bool) { method HasMode (line 259) | func (k *KeyTree) HasMode(mode string) bool { type KeyTreeCursor (line 60) | type KeyTreeCursor struct method MakeClosure (line 71) | func (k *KeyTreeCursor) MakeClosure(a TreeAction) PaneKeyAction { function NewKeyTree (line 88) | func NewKeyTree() *KeyTree { type ModeConstraint (line 105) | type ModeConstraint struct FILE: internal/action/pane.go type Pane (line 8) | type Pane interface FILE: internal/action/rawpane.go type RawPane (line 12) | type RawPane struct method HandleEvent (line 32) | func (h *RawPane) HandleEvent(event tcell.Event) { function NewRawPaneFromWin (line 16) | func NewRawPaneFromWin(b *buffer.Buffer, win display.BWindow, tab *Tab) ... function NewRawPane (line 23) | func NewRawPane(tab *Tab) *RawPane { FILE: internal/action/tab.go type TabList (line 17) | type TabList struct method UpdateNames (line 44) | func (t *TabList) UpdateNames() { method AddTab (line 52) | func (t *TabList) AddTab(p *Tab) { method RemoveTab (line 59) | func (t *TabList) RemoveTab(id uint64) { method Resize (line 82) | func (t *TabList) Resize() { method HandleEvent (line 102) | func (t *TabList) HandleEvent(event tcell.Event) { method Display (line 145) | func (t *TabList) Display() { method SetActive (line 152) | func (t *TabList) SetActive(a int) { method ResetMouse (line 175) | func (t *TabList) ResetMouse() { method CloseTerms (line 192) | func (t *TabList) CloseTerms() { function NewTabList (line 24) | func NewTabList(bufs []*buffer.Buffer) *TabList { function InitTabs (line 205) | func InitTabs(bufs []*buffer.Buffer) { function MainTab (line 223) | func MainTab() *Tab { type Tab (line 231) | type Tab struct method HandleEvent (line 276) | func (t *Tab) HandleEvent(event tcell.Event) { method SetActive (line 341) | func (t *Tab) SetActive(i int) { method AddPane (line 353) | func (t *Tab) AddPane(pane Pane, i int) { method GetPane (line 363) | func (t *Tab) GetPane(splitid uint64) int { method RemovePane (line 373) | func (t *Tab) RemovePane(i int) { method Resize (line 380) | func (t *Tab) Resize() { method CurPane (line 395) | func (t *Tab) CurPane() *BufPane { function NewTabFromBuffer (line 246) | func NewTabFromBuffer(x, y, width, height int, b *buffer.Buffer) *Tab { function NewTabFromPane (line 259) | func NewTabFromPane(x, y, width, height int, pane Pane) *Tab { FILE: internal/action/terminal_supported.go constant TermEmuSupported (line 11) | TermEmuSupported = true function RunTermEmulator (line 17) | func RunTermEmulator(h *BufPane, input string, wait bool, getOutput bool... FILE: internal/action/terminal_unsupported.go constant TermEmuSupported (line 8) | TermEmuSupported = false function RunTermEmulator (line 11) | func RunTermEmulator(input string, wait bool, getOutput bool, callback f... FILE: internal/action/termpane.go type TermKeyAction (line 16) | type TermKeyAction function init (line 20) | func init() { function TermKeyActionGeneral (line 24) | func TermKeyActionGeneral(a TermKeyAction) PaneKeyAction { function TermMapEvent (line 31) | func TermMapEvent(k Event, action string) { function termMapKey (line 42) | func termMapKey(k Event, action string) { function termMapMouse (line 48) | func termMapMouse(k MouseEvent, action string) { type TermPane (line 53) | type TermPane struct method ID (line 76) | func (t *TermPane) ID() uint64 { method SetID (line 80) | func (t *TermPane) SetID(i uint64) { method Name (line 84) | func (t *TermPane) Name() string { method SetTab (line 88) | func (t *TermPane) SetTab(tab *Tab) { method Tab (line 92) | func (t *TermPane) Tab() *Tab { method Close (line 96) | func (t *TermPane) Close() {} method Quit (line 99) | func (t *TermPane) Quit() { method Unsplit (line 113) | func (t *TermPane) Unsplit() { method HandleEvent (line 126) | func (t *TermPane) HandleEvent(event tcell.Event) { method HandleTermClose (line 196) | func (t *TermPane) HandleTermClose() { method Exit (line 203) | func (t *TermPane) Exit() { method CommandMode (line 209) | func (t *TermPane) CommandMode() { method NextSplit (line 218) | func (t *TermPane) NextSplit() { method HandleCommand (line 230) | func (t *TermPane) HandleCommand(input string) { function NewTermPane (line 62) | func NewTermPane(x, y, w, h int, t *shell.Terminal, id uint64, tab *Tab)... FILE: internal/buffer/autocomplete.go type Completer (line 20) | type Completer method GetSuggestions (line 22) | func (b *Buffer) GetSuggestions() { method Autocomplete (line 27) | func (b *Buffer) Autocomplete(c Completer) bool { method CycleAutocomplete (line 38) | func (b *Buffer) CycleAutocomplete(forward bool) { method GetWord (line 67) | func (b *Buffer) GetWord() ([]byte, int) { method GetArg (line 86) | func (b *Buffer) GetArg() (string, int) { function FileComplete (line 105) | func FileComplete(b *Buffer) ([]string, []string) { function BufferComplete (line 154) | func BufferComplete(b *Buffer) ([]string, []string) { FILE: internal/buffer/backup.go constant BackupMsg (line 15) | BackupMsg = `A backup was detected for: constant backupSeconds (line 35) | backupSeconds = 8 type backupRequestType (line 37) | type backupRequestType constant backupCreate (line 40) | backupCreate = iota constant backupRemove (line 41) | backupRemove type backupRequest (line 44) | type backupRequest struct function init (line 51) | func init() { method RequestBackup (line 55) | func (b *SharedBuffer) RequestBackup() { method CancelBackup (line 59) | func (b *SharedBuffer) CancelBackup() { function handleBackupRequest (line 63) | func handleBackupRequest(br backupRequest) { function periodicBackup (line 74) | func periodicBackup() { method backupDir (line 83) | func (b *SharedBuffer) backupDir() string { method keepBackup (line 91) | func (b *SharedBuffer) keepBackup() bool { method writeBackup (line 95) | func (b *SharedBuffer) writeBackup(path string) (string, string, error) { method removeBackup (line 130) | func (b *SharedBuffer) removeBackup(path string, resolveName string) { method Backup (line 138) | func (b *SharedBuffer) Backup() error { method RemoveBackup (line 148) | func (b *SharedBuffer) RemoveBackup() { method ApplyBackup (line 158) | func (b *SharedBuffer) ApplyBackup(fsize int64) (bool, bool) { FILE: internal/buffer/buffer.go type BufType (line 41) | type BufType struct type SharedBuffer (line 68) | type SharedBuffer struct method insert (line 126) | func (b *SharedBuffer) insert(pos Loc, value []byte) { method remove (line 135) | func (b *SharedBuffer) remove(start, end Loc) []byte { method setModified (line 142) | func (b *SharedBuffer) setModified() { method calcHash (line 164) | func (b *SharedBuffer) calcHash(out *[md5.Size]byte) { method MarkModified (line 185) | func (b *SharedBuffer) MarkModified(start, end int) { method DisableReload (line 205) | func (b *SharedBuffer) DisableReload() { constant DSUnchanged (line 210) | DSUnchanged = 0 constant DSAdded (line 211) | DSAdded = 1 constant DSModified (line 212) | DSModified = 2 constant DSDeletedAbove (line 213) | DSDeletedAbove = 3 type DiffStatus (line 216) | type DiffStatus type Command (line 218) | type Command struct type Buffer (line 238) | type Buffer struct method Close (line 512) | func (b *Buffer) Close() { method Fini (line 526) | func (b *Buffer) Fini() { method GetName (line 539) | func (b *Buffer) GetName() string { method SetName (line 554) | func (b *Buffer) SetName(s string) { method Insert (line 559) | func (b *Buffer) Insert(start Loc, text string) { method Remove (line 568) | func (b *Buffer) Remove(start, end Loc) { method FileType (line 577) | func (b *Buffer) FileType() string { method ExternallyModified (line 583) | func (b *Buffer) ExternallyModified() bool { method UpdateModTime (line 592) | func (b *Buffer) UpdateModTime() (err error) { method ReOpen (line 598) | func (b *Buffer) ReOpen() error { method RelocateCursors (line 633) | func (b *Buffer) RelocateCursors() { method DeselectCursors (line 640) | func (b *Buffer) DeselectCursors() { method RuneAt (line 647) | func (b *Buffer) RuneAt(loc Loc) rune { method WordAt (line 666) | func (b *Buffer) WordAt(loc Loc) []byte { method Shared (line 687) | func (b *Buffer) Shared() bool { method Modified (line 698) | func (b *Buffer) Modified() bool { method Size (line 703) | func (b *Buffer) Size() int { method UpdateRules (line 817) | func (b *Buffer) UpdateRules() { method ClearMatches (line 1014) | func (b *Buffer) ClearMatches() { method IndentString (line 1023) | func (b *Buffer) IndentString(tabsize int) string { method SetCursors (line 1031) | func (b *Buffer) SetCursors(c []*Cursor) { method AddCursor (line 1038) | func (b *Buffer) AddCursor(c *Cursor) { method SetCurCursor (line 1046) | func (b *Buffer) SetCurCursor(n int) { method GetActiveCursor (line 1051) | func (b *Buffer) GetActiveCursor() *Cursor { method GetCursor (line 1056) | func (b *Buffer) GetCursor(n int) *Cursor { method GetCursors (line 1061) | func (b *Buffer) GetCursors() []*Cursor { method NumCursors (line 1066) | func (b *Buffer) NumCursors() int { method MergeCursors (line 1072) | func (b *Buffer) MergeCursors() { method UpdateCursors (line 1101) | func (b *Buffer) UpdateCursors() { method RemoveCursor (line 1109) | func (b *Buffer) RemoveCursor(i int) { method ClearCursors (line 1118) | func (b *Buffer) ClearCursors() { method MoveLinesUp (line 1129) | func (b *Buffer) MoveLinesUp(start int, end int) { method MoveLinesDown (line 1154) | func (b *Buffer) MoveLinesDown(start int, end int) { method findMatchingBrace (line 1176) | func (b *Buffer) findMatchingBrace(braceType [2]rune, start Loc, char ... method FindMatchingBrace (line 1225) | func (b *Buffer) FindMatchingBrace(start Loc) (Loc, bool, bool) { method Retab (line 1265) | func (b *Buffer) Retab() { method Line (line 1319) | func (b *Buffer) Line(i int) string { method Write (line 1323) | func (b *Buffer) Write(bytes []byte) (n int, err error) { method updateDiff (line 1328) | func (b *Buffer) updateDiff(synchronous bool) { method UpdateDiff (line 1379) | func (b *Buffer) UpdateDiff() { method SetDiffBase (line 1406) | func (b *Buffer) SetDiffBase(diffBase []byte) { method DiffStatus (line 1417) | func (b *Buffer) DiffStatus(lineN int) DiffStatus { method FindNextDiffLine (line 1426) | func (b *Buffer) FindNextDiffLine(startLine int, forward bool) (int, e... method SearchMatch (line 1461) | func (b *Buffer) SearchMatch(pos Loc) bool { function NewBufferFromFileWithCommand (line 275) | func NewBufferFromFileWithCommand(path string, btype BufType, cmd Comman... function NewBufferFromFile (line 337) | func NewBufferFromFile(path string, btype BufType) (*Buffer, error) { function NewBufferFromStringWithCommand (line 343) | func NewBufferFromStringWithCommand(text, path string, btype BufType, cm... function NewBufferFromString (line 348) | func NewBufferFromString(text, path string, btype BufType) *Buffer { function NewBuffer (line 357) | func NewBuffer(r io.Reader, size int64, path string, btype BufType, cmd ... function CloseOpenBuffers (line 503) | func CloseOpenBuffers() { function parseDefFromFile (line 718) | func parseDefFromFile(f config.RuntimeFile, header *highlight.Header) *h... function findRealRuntimeSyntaxDef (line 750) | func findRealRuntimeSyntaxDef(name string, header *highlight.Header) *hi... function findRuntimeSyntaxDef (line 764) | func findRuntimeSyntaxDef(name string, header *highlight.Header) *highli... function resolveIncludes (line 776) | func resolveIncludes(syndef *highlight.Def) { function ParseCursorLocation (line 1295) | func ParseCursorLocation(cursorPositions []string) (Loc, error) { function WriteLog (line 1466) | func WriteLog(s string) { function GetLogBuf (line 1471) | func GetLogBuf() *Buffer { FILE: internal/buffer/buffer_generated_test.go function TestAuto1 (line 8) | func TestAuto1(t *testing.T) { function TestAuto2 (line 49) | func TestAuto2(t *testing.T) { function TestAuto3 (line 98) | func TestAuto3(t *testing.T) { function TestAuto4 (line 137) | func TestAuto4(t *testing.T) { function TestBug19872UndoIsFunky (line 202) | func TestBug19872UndoIsFunky(t *testing.T) { function TestBug19872UndoIsFunky_2 (line 237) | func TestBug19872UndoIsFunky_2(t *testing.T) { function TestInsertEmptyText (line 273) | func TestInsertEmptyText(t *testing.T) { function TestLastOpIsNoOp (line 302) | func TestLastOpIsNoOp(t *testing.T) { function TestInsertTextWithoutNewline1 (line 338) | func TestInsertTextWithoutNewline1(t *testing.T) { function TestInsertTextWithoutNewline2 (line 367) | func TestInsertTextWithoutNewline2(t *testing.T) { function TestInsertOneNewline (line 396) | func TestInsertOneNewline(t *testing.T) { function TestInsertTextWithOneNewline (line 427) | func TestInsertTextWithOneNewline(t *testing.T) { function TestInsertTextWithTwoNewlines (line 458) | func TestInsertTextWithTwoNewlines(t *testing.T) { function TestInsertTextWithManyNewlines (line 491) | func TestInsertTextWithManyNewlines(t *testing.T) { function TestInsertMultipleNewlines (line 528) | func TestInsertMultipleNewlines(t *testing.T) { function TestDeleteEmptyText (line 574) | func TestDeleteEmptyText(t *testing.T) { function TestDeleteTextFromOneLine (line 603) | func TestDeleteTextFromOneLine(t *testing.T) { function TestDeleteTextFromOneLine2 (line 632) | func TestDeleteTextFromOneLine2(t *testing.T) { function TestDeleteAllTextFromALine (line 661) | func TestDeleteAllTextFromALine(t *testing.T) { function TestDeleteTextFromTwoLines (line 690) | func TestDeleteTextFromTwoLines(t *testing.T) { function TestDeleteTextFromManyLines (line 718) | func TestDeleteTextFromManyLines(t *testing.T) { function TestDeleteEverything (line 745) | func TestDeleteEverything(t *testing.T) { function TestTwoUnrelatedEdits (line 770) | func TestTwoUnrelatedEdits(t *testing.T) { function TestTwoEditsOnOneLine (line 806) | func TestTwoEditsOnOneLine(t *testing.T) { function TestManyEdits (line 842) | func TestManyEdits(t *testing.T) { function TestManyEditsReversed (line 879) | func TestManyEditsReversed(t *testing.T) { function TestReplacingNewlines1 (line 916) | func TestReplacingNewlines1(t *testing.T) { function TestReplacingNewlines2 (line 953) | func TestReplacingNewlines2(t *testing.T) { function TestAdvanced1 (line 1017) | func TestAdvanced1(t *testing.T) { function TestAdvancedSimplified (line 1111) | func TestAdvancedSimplified(t *testing.T) { function TestIssue144 (line 1149) | func TestIssue144(t *testing.T) { function TestIssue2586ReplacingSelectedEndOfLineWithNewlineLocksUpTheDocument (line 1189) | func TestIssue2586ReplacingSelectedEndOfLineWithNewlineLocksUpTheDocumen... function TestIssue3980 (line 1213) | func TestIssue3980(t *testing.T) { function TestTouchingEditsTwoInsertsAtTheSamePosition (line 1269) | func TestTouchingEditsTwoInsertsAtTheSamePosition(t *testing.T) { function TestTouchingEditsInsertAndReplaceTouching (line 1297) | func TestTouchingEditsInsertAndReplaceTouching(t *testing.T) { function TestTouchingEditsTwoTouchingReplaces (line 1325) | func TestTouchingEditsTwoTouchingReplaces(t *testing.T) { function TestTouchingEditsTwoTouchingDeletes (line 1353) | func TestTouchingEditsTwoTouchingDeletes(t *testing.T) { function TestTouchingEditsInsertAndReplace (line 1381) | func TestTouchingEditsInsertAndReplace(t *testing.T) { function TestTouchingEditsReplaceAndInsert (line 1409) | func TestTouchingEditsReplaceAndInsert(t *testing.T) { function TestSingleDelete1 (line 1437) | func TestSingleDelete1(t *testing.T) { function TestSingleDelete2 (line 1458) | func TestSingleDelete2(t *testing.T) { function TestSingleDelete3 (line 1479) | func TestSingleDelete3(t *testing.T) { function TestSingleDelete4 (line 1500) | func TestSingleDelete4(t *testing.T) { function TestSingleDelete5 (line 1521) | func TestSingleDelete5(t *testing.T) { function TestMultiDelete6 (line 1542) | func TestMultiDelete6(t *testing.T) { function TestMultiDelete7 (line 1565) | func TestMultiDelete7(t *testing.T) { function TestMultiDelete8 (line 1588) | func TestMultiDelete8(t *testing.T) { function TestMultiDelete9 (line 1611) | func TestMultiDelete9(t *testing.T) { function TestSingleInsert1 (line 1634) | func TestSingleInsert1(t *testing.T) { function TestSingleInsert2 (line 1655) | func TestSingleInsert2(t *testing.T) { function TestSingleInsert3 (line 1676) | func TestSingleInsert3(t *testing.T) { function TestSingleInsert4 (line 1697) | func TestSingleInsert4(t *testing.T) { function TestSingleInsert5 (line 1718) | func TestSingleInsert5(t *testing.T) { function TestMultiInsert6 (line 1739) | func TestMultiInsert6(t *testing.T) { function TestMultiInsert7 (line 1761) | func TestMultiInsert7(t *testing.T) { function TestMultiInsert8 (line 1783) | func TestMultiInsert8(t *testing.T) { function TestMultiInsert9 (line 1805) | func TestMultiInsert9(t *testing.T) { FILE: internal/buffer/buffer_test.go type operation (line 15) | type operation struct function init (line 21) | func init() { function check (line 29) | func check(t *testing.T, before []string, operations []operation, after ... constant maxLineLength (line 99) | maxLineLength = 200 function randomString (line 103) | func randomString(length int) string { function randomText (line 111) | func randomText(nLines int) string { function benchCreateAndClose (line 119) | func benchCreateAndClose(testingB *testing.B, nLines int) { function benchRead (line 132) | func benchRead(testingB *testing.B, nLines int) { function benchEdit (line 152) | func benchEdit(testingB *testing.B, nLines, nCursors int) { function BenchmarkCreateAndClose10Lines (line 205) | func BenchmarkCreateAndClose10Lines(b *testing.B) { function BenchmarkCreateAndClose100Lines (line 209) | func BenchmarkCreateAndClose100Lines(b *testing.B) { function BenchmarkCreateAndClose1000Lines (line 213) | func BenchmarkCreateAndClose1000Lines(b *testing.B) { function BenchmarkCreateAndClose10000Lines (line 217) | func BenchmarkCreateAndClose10000Lines(b *testing.B) { function BenchmarkCreateAndClose100000Lines (line 221) | func BenchmarkCreateAndClose100000Lines(b *testing.B) { function BenchmarkCreateAndClose1000000Lines (line 225) | func BenchmarkCreateAndClose1000000Lines(b *testing.B) { function BenchmarkRead10Lines (line 229) | func BenchmarkRead10Lines(b *testing.B) { function BenchmarkRead100Lines (line 233) | func BenchmarkRead100Lines(b *testing.B) { function BenchmarkRead1000Lines (line 237) | func BenchmarkRead1000Lines(b *testing.B) { function BenchmarkRead10000Lines (line 241) | func BenchmarkRead10000Lines(b *testing.B) { function BenchmarkRead100000Lines (line 245) | func BenchmarkRead100000Lines(b *testing.B) { function BenchmarkRead1000000Lines (line 249) | func BenchmarkRead1000000Lines(b *testing.B) { function BenchmarkEdit10Lines1Cursor (line 253) | func BenchmarkEdit10Lines1Cursor(b *testing.B) { function BenchmarkEdit100Lines1Cursor (line 257) | func BenchmarkEdit100Lines1Cursor(b *testing.B) { function BenchmarkEdit100Lines10Cursors (line 261) | func BenchmarkEdit100Lines10Cursors(b *testing.B) { function BenchmarkEdit1000Lines1Cursor (line 265) | func BenchmarkEdit1000Lines1Cursor(b *testing.B) { function BenchmarkEdit1000Lines10Cursors (line 269) | func BenchmarkEdit1000Lines10Cursors(b *testing.B) { function BenchmarkEdit1000Lines100Cursors (line 273) | func BenchmarkEdit1000Lines100Cursors(b *testing.B) { function BenchmarkEdit10000Lines1Cursor (line 277) | func BenchmarkEdit10000Lines1Cursor(b *testing.B) { function BenchmarkEdit10000Lines10Cursors (line 281) | func BenchmarkEdit10000Lines10Cursors(b *testing.B) { function BenchmarkEdit10000Lines100Cursors (line 285) | func BenchmarkEdit10000Lines100Cursors(b *testing.B) { function BenchmarkEdit10000Lines1000Cursors (line 289) | func BenchmarkEdit10000Lines1000Cursors(b *testing.B) { function BenchmarkEdit100000Lines1Cursor (line 293) | func BenchmarkEdit100000Lines1Cursor(b *testing.B) { function BenchmarkEdit100000Lines10Cursors (line 297) | func BenchmarkEdit100000Lines10Cursors(b *testing.B) { function BenchmarkEdit100000Lines100Cursors (line 301) | func BenchmarkEdit100000Lines100Cursors(b *testing.B) { function BenchmarkEdit100000Lines1000Cursors (line 305) | func BenchmarkEdit100000Lines1000Cursors(b *testing.B) { function BenchmarkEdit1000000Lines1Cursor (line 309) | func BenchmarkEdit1000000Lines1Cursor(b *testing.B) { function BenchmarkEdit1000000Lines10Cursors (line 313) | func BenchmarkEdit1000000Lines10Cursors(b *testing.B) { function BenchmarkEdit1000000Lines100Cursors (line 317) | func BenchmarkEdit1000000Lines100Cursors(b *testing.B) { function BenchmarkEdit1000000Lines1000Cursors (line 321) | func BenchmarkEdit1000000Lines1000Cursors(b *testing.B) { FILE: internal/buffer/cursor.go function InBounds (line 9) | func InBounds(pos Loc, buf *Buffer) bool { type Cursor (line 19) | type Cursor struct method SetBuf (line 59) | func (c *Cursor) SetBuf(b *Buffer) { method Buf (line 63) | func (c *Cursor) Buf() *Buffer { method Goto (line 69) | func (c *Cursor) Goto(b Cursor) { method GotoLoc (line 77) | func (c *Cursor) GotoLoc(l Loc) { method GetVisualX (line 83) | func (c *Cursor) GetVisualX(wrap bool) int { method GetCharPosInLine (line 102) | func (c *Cursor) GetCharPosInLine(b []byte, visualPos int) int { method Start (line 108) | func (c *Cursor) Start() { method StartOfText (line 115) | func (c *Cursor) StartOfText() { method IsStartOfText (line 127) | func (c *Cursor) IsStartOfText() bool { method End (line 139) | func (c *Cursor) End() { method CopySelection (line 146) | func (c *Cursor) CopySelection(target clipboard.Register) { method ResetSelection (line 155) | func (c *Cursor) ResetSelection() { method SetSelectionStart (line 161) | func (c *Cursor) SetSelectionStart(pos Loc) { method SetSelectionEnd (line 166) | func (c *Cursor) SetSelectionEnd(pos Loc) { method HasSelection (line 171) | func (c *Cursor) HasSelection() bool { method DeleteSelection (line 176) | func (c *Cursor) DeleteSelection() { method Deselect (line 191) | func (c *Cursor) Deselect(start bool) { method GetSelection (line 204) | func (c *Cursor) GetSelection() []byte { method SelectLine (line 215) | func (c *Cursor) SelectLine() { method AddLineToSelection (line 229) | func (c *Cursor) AddLineToSelection() { method UpN (line 247) | func (c *Cursor) UpN(amount int) { method DownN (line 272) | func (c *Cursor) DownN(amount int) { method Up (line 277) | func (c *Cursor) Up() { method Down (line 282) | func (c *Cursor) Down() { method Left (line 288) | func (c *Cursor) Left() { method Right (line 303) | func (c *Cursor) Right() { method Relocate (line 319) | func (c *Cursor) Relocate() { method SelectWord (line 334) | func (c *Cursor) SelectWord() { method AddWordToSelection (line 367) | func (c *Cursor) AddWordToSelection() { method SelectTo (line 401) | func (c *Cursor) SelectTo(loc Loc) { method WordRight (line 412) | func (c *Cursor) WordRight() { method WordLeft (line 443) | func (c *Cursor) WordLeft() { method SubWordRight (line 477) | func (c *Cursor) SubWordRight() { method SubWordLeft (line 537) | func (c *Cursor) SubWordLeft() { method RuneUnder (line 603) | func (c *Cursor) RuneUnder(x int) rune { method StoreVisualX (line 624) | func (c *Cursor) StoreVisualX() { function NewCursor (line 48) | func NewCursor(b *Buffer, l Loc) *Cursor { FILE: internal/buffer/eventhandler.go constant TextEventInsert (line 19) | TextEventInsert = 1 constant TextEventRemove (line 21) | TextEventRemove = -1 constant TextEventReplace (line 23) | TextEventReplace = 0 constant undoThreshold (line 25) | undoThreshold = 1000 type TextEvent (line 29) | type TextEvent struct type Delta (line 38) | type Delta struct function ExecuteTextEvent (line 116) | func ExecuteTextEvent(t *TextEvent, buf *SharedBuffer) { type EventHandler (line 145) | type EventHandler struct method DoTextEvent (line 45) | func (eh *EventHandler) DoTextEvent(t *TextEvent, useUndo bool) { method UndoTextEvent (line 139) | func (eh *EventHandler) UndoTextEvent(t *TextEvent) { method ApplyDiff (line 167) | func (eh *EventHandler) ApplyDiff(new string) { method Insert (line 184) | func (eh *EventHandler) Insert(start Loc, textStr string) { method InsertBytes (line 190) | func (eh *EventHandler) InsertBytes(start Loc, text []byte) { method Remove (line 205) | func (eh *EventHandler) Remove(start, end Loc) { method MultipleReplace (line 221) | func (eh *EventHandler) MultipleReplace(deltas []Delta) { method Replace (line 232) | func (eh *EventHandler) Replace(start, end Loc, replace string) { method Execute (line 238) | func (eh *EventHandler) Execute(t *TextEvent) { method Undo (line 257) | func (eh *EventHandler) Undo() bool { method UndoOneEvent (line 282) | func (eh *EventHandler) UndoOneEvent() { method Redo (line 304) | func (eh *EventHandler) Redo() bool { method RedoOneEvent (line 329) | func (eh *EventHandler) RedoOneEvent() { method updateTrailingWs (line 347) | func (eh *EventHandler) updateTrailingWs(t *TextEvent) { function NewEventHandler (line 154) | func NewEventHandler(buf *SharedBuffer, cursors []*Cursor) *EventHandler { FILE: internal/buffer/line_array.go function runeToByteIndex (line 14) | func runeToByteIndex(n int, txt []byte) int { type searchState (line 36) | type searchState struct type Line (line 46) | type Line struct constant FFAuto (line 64) | FFAuto = 0 constant FFUnix (line 65) | FFUnix = 1 constant FFDos (line 66) | FFDos = 2 type FileFormat (line 69) | type FileFormat type LineArray (line 73) | type LineArray struct method Bytes (line 172) | func (la *LineArray) Bytes() []byte { method newlineBelow (line 189) | func (la *LineArray) newlineBelow(y int) { method insert (line 204) | func (la *LineArray) insert(pos Loc, value []byte) { method insertByte (line 227) | func (la *LineArray) insertByte(pos Loc, value byte) { method joinLines (line 234) | func (la *LineArray) joinLines(a, b int) { method split (line 240) | func (la *LineArray) split(pos Loc) { method remove (line 251) | func (la *LineArray) remove(start, end Loc) []byte { method deleteToEnd (line 270) | func (la *LineArray) deleteToEnd(pos Loc) { method deleteFromStart (line 275) | func (la *LineArray) deleteFromStart(pos Loc) { method deleteLine (line 280) | func (la *LineArray) deleteLine(y int) { method deleteLines (line 284) | func (la *LineArray) deleteLines(y1, y2 int) { method Substr (line 289) | func (la *LineArray) Substr(start, end Loc) []byte { method LinesNum (line 310) | func (la *LineArray) LinesNum() int { method Start (line 315) | func (la *LineArray) Start() Loc { method End (line 320) | func (la *LineArray) End() Loc { method LineBytes (line 326) | func (la *LineArray) LineBytes(lineN int) []byte { method State (line 334) | func (la *LineArray) State(lineN int) highlight.State { method SetState (line 341) | func (la *LineArray) SetState(lineN int, s highlight.State) { method SetMatch (line 348) | func (la *LineArray) SetMatch(lineN int, m highlight.LineMatch) { method Match (line 355) | func (la *LineArray) Match(lineN int) highlight.LineMatch { method Lock (line 362) | func (la *LineArray) Lock() { method Unlock (line 367) | func (la *LineArray) Unlock() { method SearchMatch (line 383) | func (la *LineArray) SearchMatch(b *Buffer, pos Loc) bool { method invalidateSearchMatches (line 439) | func (la *LineArray) invalidateSearchMatches(lineN int) { function Append (line 83) | func Append(slice []Line, data ...Line) []Line { function NewLineArray (line 98) | func NewLineArray(size uint64, endings FileFormat, reader io.Reader) *Li... FILE: internal/buffer/line_array_test.go function init (line 18) | func init() { function TestSplit (line 23) | func TestSplit(t *testing.T) { function TestJoin (line 33) | func TestJoin(t *testing.T) { function TestInsert (line 43) | func TestInsert(t *testing.T) { function TestRemove (line 55) | func TestRemove(t *testing.T) { FILE: internal/buffer/loc.go type Loc (line 8) | type Loc struct method LessThan (line 13) | func (l Loc) LessThan(b Loc) bool { method GreaterThan (line 21) | func (l Loc) GreaterThan(b Loc) bool { method GreaterEqual (line 29) | func (l Loc) GreaterEqual(b Loc) bool { method LessEqual (line 40) | func (l Loc) LessEqual(b Loc) bool { method Clamp (line 51) | func (l Loc) Clamp(start, end Loc) Loc { method right (line 86) | func (l Loc) right(buf *LineArray) Loc { method left (line 100) | func (l Loc) left(buf *LineArray) Loc { method MoveLA (line 115) | func (l Loc) MoveLA(n int, buf *LineArray) Loc { method Diff (line 129) | func (l Loc) Diff(b Loc, buf *Buffer) int { method Move (line 134) | func (l Loc) Move(n int, buf *Buffer) Loc { function DiffLA (line 63) | func DiffLA(a, b Loc, buf *LineArray) int { function ByteOffset (line 139) | func ByteOffset(pos Loc, buf *Buffer) int { function clamp (line 151) | func clamp(pos Loc, la *LineArray) Loc { FILE: internal/buffer/message.go type MsgType (line 8) | type MsgType constant MTInfo (line 11) | MTInfo = iota constant MTWarning (line 12) | MTWarning constant MTError (line 13) | MTError type Message (line 17) | type Message struct method Style (line 46) | func (m *Message) Style() tcell.Style { function NewMessage (line 29) | func NewMessage(owner string, msg string, start, end Loc, kind MsgType) ... function NewMessageAtLine (line 40) | func NewMessageAtLine(owner string, msg string, line int, kind MsgType) ... method AddMessage (line 64) | func (b *Buffer) AddMessage(m *Message) { method removeMsg (line 68) | func (b *Buffer) removeMsg(i int) { method ClearMessages (line 74) | func (b *Buffer) ClearMessages(owner string) { method ClearAllMessages (line 82) | func (b *Buffer) ClearAllMessages() { type Messager (line 86) | type Messager interface function SetMessager (line 92) | func SetMessager(m Messager) { FILE: internal/buffer/save.go constant LargeFileThreshold (line 25) | LargeFileThreshold = 50000 type wrappedFile (line 27) | type wrappedFile struct method Truncate (line 124) | func (wf wrappedFile) Truncate() error { method Write (line 135) | func (wf wrappedFile) Write(b *SharedBuffer) (int, error) { method Close (line 183) | func (wf wrappedFile) Close() error { type saveResponse (line 36) | type saveResponse struct type saveRequest (line 41) | type saveRequest struct function init (line 52) | func init() { function openFile (line 77) | func openFile(name string, withSudo bool) (wrappedFile, error) { method overwriteFile (line 200) | func (b *SharedBuffer) overwriteFile(name string) (int, error) { method Save (line 216) | func (b *Buffer) Save() error { method AutoSave (line 221) | func (b *Buffer) AutoSave() error { method SaveAs (line 229) | func (b *Buffer) SaveAs(filename string) error { method SaveWithSudo (line 233) | func (b *Buffer) SaveWithSudo() error { method SaveAsWithSudo (line 237) | func (b *Buffer) SaveAsWithSudo(filename string) error { method saveToFile (line 241) | func (b *Buffer) saveToFile(filename string, withSudo bool, autoSave boo... method safeWrite (line 356) | func (b *SharedBuffer) safeWrite(path string, withSudo bool, newFile boo... FILE: internal/buffer/search.go constant padStart (line 16) | padStart = 1 << iota constant padEnd (line 17) | padEnd function findLineParams (line 20) | func findLineParams(b *Buffer, start, end Loc, i int, r *regexp.Regexp) ... method findDown (line 64) | func (b *Buffer) findDown(r *regexp.Regexp, start, end Loc) ([2]Loc, boo... method findUp (line 101) | func (b *Buffer) findUp(r *regexp.Regexp, start, end Loc) ([2]Loc, bool) { method findAll (line 130) | func (b *Buffer) findAll(r *regexp.Regexp, start, end Loc) [][2]Loc { method FindNext (line 154) | func (b *Buffer) FindNext(s string, start, end, from Loc, down bool, use... method ReplaceRegex (line 195) | func (b *Buffer) ReplaceRegex(start, end Loc, search *regexp.Regexp, rep... FILE: internal/buffer/serialize.go type SerializedBuffer (line 17) | type SerializedBuffer struct method Serialize (line 24) | func (b *Buffer) Serialize() error { method Unserialize (line 63) | func (b *Buffer) Unserialize() error { FILE: internal/buffer/settings.go method ReloadSettings (line 15) | func (b *Buffer) ReloadSettings(reloadFiletype bool) { method DoSetOptionNative (line 62) | func (b *Buffer) DoSetOptionNative(option string, nativeValue any) { method SetOptionNative (line 141) | func (b *Buffer) SetOptionNative(option string, nativeValue any) error { method SetOption (line 153) | func (b *Buffer) SetOption(option, value string) error { method doCallbacks (line 166) | func (b *Buffer) doCallbacks(option string, oldValue any, newValue any) { FILE: internal/buffer/stack.go type TEStack (line 4) | type TEStack struct method Len (line 16) | func (s *TEStack) Len() int { method Push (line 21) | func (s *TEStack) Push(value *TextEvent) { method Pop (line 28) | func (s *TEStack) Pop() (value *TextEvent) { method Peek (line 38) | func (s *TEStack) Peek() *TextEvent { type Element (line 10) | type Element struct FILE: internal/buffer/stack_test.go function TestStack (line 10) | func TestStack(t *testing.T) { FILE: internal/clipboard/clipboard.go type Method (line 9) | type Method constant External (line 15) | External Method = iota constant Terminal (line 18) | Terminal constant Internal (line 21) | Internal type Register (line 29) | type Register constant ClipboardReg (line 33) | ClipboardReg Register = -1 constant PrimaryReg (line 35) | PrimaryReg = -2 function Initialize (line 41) | func Initialize(m Method) error { function SetMethod (line 59) | func SetMethod(m string) Method { function Read (line 72) | func Read(r Register) (string, error) { function Write (line 77) | func Write(text string, r Register) error { function ReadMulti (line 82) | func ReadMulti(r Register, num, ncursors int) (string, error) { function WriteMulti (line 94) | func WriteMulti(text string, r Register, num int, ncursors int) error { function ValidMulti (line 100) | func ValidMulti(r Register, clip string, ncursors int) bool { function writeMulti (line 104) | func writeMulti(text string, r Register, num int, ncursors int, m Method... function read (line 109) | func read(r Register, m Method) (string, error) { function write (line 139) | func write(text string, r Register, m Method) error { FILE: internal/clipboard/internal.go type internalClipboard (line 3) | type internalClipboard method read (line 11) | func (c internalClipboard) read(r Register) string { method write (line 15) | func (c internalClipboard) write(text string, r Register) { function init (line 7) | func init() { FILE: internal/clipboard/multi.go type multiClipboard (line 8) | type multiClipboard method getAllText (line 12) | func (c multiClipboard) getAllText(r Register) string { method getText (line 25) | func (c multiClipboard) getText(r Register, num int) string { method isValid (line 38) | func (c multiClipboard) isValid(r Register, clipboard string, ncursors... method writeText (line 47) | func (c multiClipboard) writeText(text string, r Register, num int, nc... function init (line 61) | func init() { FILE: internal/clipboard/terminal.go type terminalClipboard (line 11) | type terminalClipboard struct method read (line 15) | func (t terminalClipboard) read(reg string) (string, error) { method write (line 31) | func (t terminalClipboard) write(text, reg string) error { FILE: internal/config/autosave.go function init (line 10) | func init() { function SetAutoTime (line 15) | func SetAutoTime(a float64) { function StartAutoSave (line 19) | func StartAutoSave() { FILE: internal/config/colorscheme.go function GetColor (line 19) | func GetColor(color string) tcell.Style { function ColorschemeExists (line 46) | func ColorschemeExists(colorschemeName string) bool { function InitColorscheme (line 51) | func InitColorscheme() error { function LoadDefaultColorscheme (line 72) | func LoadDefaultColorscheme() (map[string]tcell.Style, error) { function LoadColorscheme (line 78) | func LoadColorscheme(colorschemeName string, parsedColorschemes *[]strin... function ParseColorscheme (line 100) | func ParseColorscheme(name string, text string, parsedColorschemes *[]st... function StringToStyle (line 164) | func StringToStyle(str string) tcell.Style { function StringToColor (line 213) | func StringToColor(str string) (tcell.Color, bool) { function GetColor256 (line 263) | func GetColor256(color int) tcell.Color { FILE: internal/config/colorscheme_test.go function TestSimpleStringToStyle (line 10) | func TestSimpleStringToStyle(t *testing.T) { function TestAttributeStringToStyle (line 19) | func TestAttributeStringToStyle(t *testing.T) { function TestMultiAttributesStringToStyle (line 29) | func TestMultiAttributesStringToStyle(t *testing.T) { function TestColor256StringToStyle (line 41) | func TestColor256StringToStyle(t *testing.T) { function TestColorHexStringToStyle (line 50) | func TestColorHexStringToStyle(t *testing.T) { function TestColorschemeParser (line 59) | func TestColorschemeParser(t *testing.T) { FILE: internal/config/config.go function InitConfigDir (line 15) | func InitConfigDir(flagConfigDir string) error { FILE: internal/config/globals.go constant DoubleClickThreshold (line 4) | DoubleClickThreshold = 400 function init (line 9) | func init() { FILE: internal/config/plugin.go function LoadAllPlugins (line 15) | func LoadAllPlugins() error { function RunPluginFn (line 28) | func RunPluginFn(fn string, args ...lua.LValue) error { function RunPluginFnBool (line 45) | func RunPluginFnBool(settings map[string]any, fn string, args ...lua.LVa... type Plugin (line 68) | type Plugin struct method IsLoaded (line 78) | func (p *Plugin) IsLoaded() bool { method Load (line 89) | func (p *Plugin) Load() error { method Call (line 109) | func (p *Plugin) Call(fn string, args ...lua.LValue) (lua.LValue, erro... function FindPlugin (line 133) | func FindPlugin(name string) *Plugin { FILE: internal/config/plugin_installer.go constant CorePluginName (line 27) | CorePluginName = "micro" type PluginChannel (line 30) | type PluginChannel method Fetch (line 131) | func (pc PluginChannel) Fetch(out io.Writer) PluginPackages { type PluginChannels (line 33) | type PluginChannels method Fetch (line 124) | func (pc PluginChannels) Fetch(out io.Writer) PluginPackages { type PluginRepository (line 36) | type PluginRepository method Fetch (line 151) | func (pr PluginRepository) Fetch(out io.Writer) PluginPackages { type PluginPackage (line 39) | type PluginPackage struct method String (line 75) | func (pp *PluginPackage) String() string { method UnmarshalJSON (line 201) | func (pp *PluginPackage) UnmarshalJSON(data []byte) error { method Match (line 288) | func (pp PluginPackage) Match(text string) bool { method IsInstallable (line 307) | func (pp PluginPackage) IsInstallable(out io.Writer) error { method Install (line 594) | func (pl PluginPackage) Install(out io.Writer) { type PluginPackages (line 49) | type PluginPackages method Get (line 473) | func (pl PluginPackages) Get(name string) *PluginPackage { method GetAllVersions (line 482) | func (pl PluginPackages) GetAllVersions(name string) PluginVersions { method Resolve (line 515) | func (all PluginPackages) Resolve(selectedVersions PluginVersions, ope... type PluginVersion (line 52) | type PluginVersion struct method Pack (line 59) | func (pv *PluginVersion) Pack() *PluginPackage { method UnmarshalJSON (line 173) | func (pv *PluginVersion) UnmarshalJSON(data []byte) error { method DownloadAndInstall (line 396) | func (pv *PluginVersion) DownloadAndInstall(out io.Writer) error { type PluginVersions (line 64) | type PluginVersions method find (line 263) | func (pv PluginVersions) find(ppName string) *PluginVersion { method Len (line 273) | func (pv PluginVersions) Len() int { method Swap (line 278) | func (pv PluginVersions) Swap(i, j int) { method Less (line 283) | func (pv PluginVersions) Less(i, j int) bool { method install (line 544) | func (pv PluginVersions) install(out io.Writer) { type PluginDependency (line 67) | type PluginDependency struct type PluginDependencies (line 73) | type PluginDependencies method Join (line 491) | func (req PluginDependencies) Join(other PluginDependencies) PluginDep... function fetchAllSources (line 95) | func fetchAllSources(count int, fetcher func(i int) PluginPackages) Plug... function GetAllPluginPackages (line 224) | func GetAllPluginPackages(out io.Writer) PluginPackages { function SearchPlugin (line 318) | func SearchPlugin(out io.Writer, texts []string) (plugins PluginPackages) { function isUnknownCoreVersion (line 336) | func isUnknownCoreVersion() bool { function newStaticPluginVersion (line 341) | func newStaticPluginVersion(name, version string, builtin bool) *PluginV... function GetInstalledVersions (line 363) | func GetInstalledVersions(withCore bool) PluginVersions { function GetInstalledPluginVersion (line 383) | func GetInstalledPluginVersion(name string) string { function UninstallPlugin (line 577) | func UninstallPlugin(out io.Writer, name string) { function UpdatePlugins (line 608) | func UpdatePlugins(out io.Writer, plugins []string) { function PluginCommand (line 644) | func PluginCommand(out io.Writer, cmd string, args []string) { FILE: internal/config/plugin_installer_test.go function TestDependencyResolving (line 11) | func TestDependencyResolving(t *testing.T) { FILE: internal/config/plugin_manager.go type PluginInfo (line 26) | type PluginInfo struct function NewPluginInfo (line 35) | func NewPluginInfo(data []byte) (*PluginInfo, error) { FILE: internal/config/rtfiles.go constant RTColorscheme (line 15) | RTColorscheme = 0 constant RTSyntax (line 16) | RTSyntax = 1 constant RTHelp (line 17) | RTHelp = 2 constant RTPlugin (line 18) | RTPlugin = 3 constant RTSyntaxHeader (line 19) | RTSyntaxHeader = 4 type RTFiletype (line 26) | type RTFiletype type RuntimeFile (line 29) | type RuntimeFile interface function init (line 40) | func init() { function initRuntimeVars (line 44) | func initRuntimeVars() { function NewRTFiletype (line 50) | func NewRTFiletype() int { type realFile (line 58) | type realFile method Name (line 76) | func (rf realFile) Name() string { method Data (line 81) | func (rf realFile) Data() ([]byte, error) { type assetFile (line 61) | type assetFile method Name (line 85) | func (af assetFile) Name() string { method Data (line 90) | func (af assetFile) Data() ([]byte, error) { type memoryFile (line 64) | type memoryFile struct method Name (line 69) | func (mf memoryFile) Name() string { method Data (line 72) | func (mf memoryFile) Data() ([]byte, error) { function AddRuntimeFile (line 95) | func AddRuntimeFile(fileType RTFiletype, file RuntimeFile) { function AddRealRuntimeFile (line 100) | func AddRealRuntimeFile(fileType RTFiletype, file RuntimeFile) { function AddRuntimeFilesFromDirectory (line 107) | func AddRuntimeFilesFromDirectory(fileType RTFiletype, directory, patter... function AddRuntimeFilesFromAssets (line 119) | func AddRuntimeFilesFromAssets(fileType RTFiletype, directory, pattern s... function FindRuntimeFile (line 141) | func FindRuntimeFile(fileType RTFiletype, name string) RuntimeFile { function ListRuntimeFiles (line 151) | func ListRuntimeFiles(fileType RTFiletype) []RuntimeFile { function ListRealRuntimeFiles (line 157) | func ListRealRuntimeFiles(fileType RTFiletype) []RuntimeFile { function InitRuntimeFiles (line 164) | func InitRuntimeFiles(user bool) { function InitPlugins (line 181) | func InitPlugins() { function PluginReadRuntimeFile (line 273) | func PluginReadRuntimeFile(fileType RTFiletype, name string) string { function PluginListRuntimeFiles (line 283) | func PluginListRuntimeFiles(fileType RTFiletype) []string { function PluginAddRuntimeFile (line 293) | func PluginAddRuntimeFile(plugin string, filetype RTFiletype, filePath s... function PluginAddRuntimeFilesFromDirectory (line 310) | func PluginAddRuntimeFilesFromDirectory(plugin string, filetype RTFilety... function PluginAddRuntimeFileFromMemory (line 327) | func PluginAddRuntimeFileFromMemory(filetype RTFiletype, filename, data ... FILE: internal/config/rtfiles_test.go function init (line 9) | func init() { function TestAddFile (line 13) | func TestAddFile(t *testing.T) { function TestFindFile (line 32) | func TestFindFile(t *testing.T) { FILE: internal/config/settings.go type optionValidator (line 20) | type optionValidator function writeFile (line 164) | func writeFile(name string, txt []byte) error { function init (line 168) | func init() { function validateParsedSettings (line 173) | func validateParsedSettings() error { function ReadSettings (line 231) | func ReadSettings() error { function ParsedSettings (line 256) | func ParsedSettings() map[string]any { function verifySetting (line 264) | func verifySetting(option string, value any, def any) error { function InitGlobalSettings (line 295) | func InitGlobalSettings() error { function UpdatePathGlobLocals (line 310) | func UpdatePathGlobLocals(settings map[string]any, path string) { function UpdateFileTypeLocals (line 326) | func UpdateFileTypeLocals(settings map[string]any, filetype string) { function WriteSettings (line 341) | func WriteSettings(filename string) error { function OverwriteSettings (line 383) | func OverwriteSettings(filename string) error { function RegisterCommonOptionPlug (line 405) | func RegisterCommonOptionPlug(pl string, name string, defaultvalue any) ... function RegisterGlobalOptionPlug (line 410) | func RegisterGlobalOptionPlug(pl string, name string, defaultvalue any) ... function RegisterCommonOption (line 415) | func RegisterCommonOption(name string, defaultvalue any) error { function RegisterGlobalOption (line 424) | func RegisterGlobalOption(name string, defaultvalue any) error { function GetGlobalOption (line 433) | func GetGlobalOption(name string) any { function defaultFileFormat (line 437) | func defaultFileFormat() string { function defaultFakeCursor (line 444) | func defaultFakeCursor() bool { function GetInfoBarOffset (line 453) | func GetInfoBarOffset() int { function DefaultCommonSettings (line 466) | func DefaultCommonSettings() map[string]any { function DefaultAllSettings (line 476) | func DefaultAllSettings() map[string]any { function GetNativeValue (line 488) | func GetNativeValue(option, value string) (any, error) { function OptionIsValid (line 515) | func OptionIsValid(option string, value any) error { function validatePositiveValue (line 525) | func validatePositiveValue(option string, value any) error { function validateNonNegativeValue (line 539) | func validateNonNegativeValue(option string, value any) error { function validateChoice (line 553) | func validateChoice(option string, value any) error { function validateColorscheme (line 573) | func validateColorscheme(option string, value any) error { function validateEncoding (line 587) | func validateEncoding(option string, value any) error { FILE: internal/display/bufwindow.go type BufWindow (line 16) | type BufWindow struct method SetBuffer (line 48) | func (w *BufWindow) SetBuffer(b *buffer.Buffer) { method GetView (line 78) | func (w *BufWindow) GetView() *View { method SetView (line 83) | func (w *BufWindow) SetView(view *View) { method Resize (line 88) | func (w *BufWindow) Resize(width, height int) { method SetActive (line 96) | func (w *BufWindow) SetActive(b bool) { method IsActive (line 101) | func (w *BufWindow) IsActive() bool { method BufView (line 108) | func (w *BufWindow) BufView() View { method updateDisplayInfo (line 119) | func (w *BufWindow) updateDisplayInfo() { method getStartInfo (line 175) | func (w *BufWindow) getStartInfo(n, lineN int) ([]byte, int, int, *tce... method Clear (line 209) | func (w *BufWindow) Clear() { method Relocate (line 220) | func (w *BufWindow) Relocate() bool { method LocFromVisual (line 270) | func (w *BufWindow) LocFromVisual(svloc buffer.Loc) buffer.Loc { method drawGutter (line 282) | func (w *BufWindow) drawGutter(vloc *buffer.Loc, bloc *buffer.Loc) { method drawDiffGutter (line 298) | func (w *BufWindow) drawDiffGutter(backgroundStyle tcell.Style, softwr... method drawLineNum (line 330) | func (w *BufWindow) drawLineNum(lineNumStyle tcell.Style, softwrapped ... method getStyle (line 364) | func (w *BufWindow) getStyle(style tcell.Style, bloc buffer.Loc) (tcel... method showCursor (line 372) | func (w *BufWindow) showCursor(x, y int, main bool) { method displayBuffer (line 383) | func (w *BufWindow) displayBuffer() { method displayStatusLine (line 842) | func (w *BufWindow) displayStatusLine() { method displayScrollBar (line 870) | func (w *BufWindow) displayScrollBar() { method Display (line 897) | func (w *BufWindow) Display() { function NewBufWindow (line 35) | func NewBufWindow(x, y, width, height int, buf *buffer.Buffer) *BufWindow { FILE: internal/display/infowindow.go type InfoWindow (line 13) | type InfoWindow struct method errStyle (line 20) | func (i *InfoWindow) errStyle() tcell.Style { method defStyle (line 32) | func (i *InfoWindow) defStyle() tcell.Style { method Resize (line 53) | func (i *InfoWindow) Resize(w, h int) { method SetBuffer (line 58) | func (i *InfoWindow) SetBuffer(b *buffer.Buffer) { method Relocate (line 62) | func (i *InfoWindow) Relocate() bool { return false } method GetView (line 63) | func (i *InfoWindow) GetView() *View { return i.View } method SetView (line 64) | func (i *InfoWindow) SetView(v *View) {} method SetActive (line 65) | func (i *InfoWindow) SetActive(b bool) {} method IsActive (line 66) | func (i *InfoWindow) IsActive() bool { return true } method LocFromVisual (line 68) | func (i *InfoWindow) LocFromVisual(vloc buffer.Loc) buffer.Loc { method BufView (line 75) | func (i *InfoWindow) BufView() View { method Scroll (line 86) | func (i *InfoWindow) Scroll(s SLoc, n int) SLoc { return s } method Diff (line 87) | func (i *InfoWindow) Diff(s1, s2 SLoc) int { return 0 } method SLocFromLoc (line 88) | func (i *InfoWindow) SLocFromLoc(loc buffer.Loc) SLoc { return SLoc{0... method VLocFromLoc (line 89) | func (i *InfoWindow) VLocFromLoc(loc buffer.Loc) VLoc { return VLoc{S... method LocFromVLoc (line 90) | func (i *InfoWindow) LocFromVLoc(vloc VLoc) buffer.Loc { return buffer... method Clear (line 92) | func (i *InfoWindow) Clear() { method displayBuffer (line 98) | func (i *InfoWindow) displayBuffer() { method displayKeyMenu (line 168) | func (i *InfoWindow) displayKeyMenu() { method totalSize (line 182) | func (i *InfoWindow) totalSize() int { method scrollToSuggestion (line 190) | func (i *InfoWindow) scrollToSuggestion() { method Display (line 212) | func (i *InfoWindow) Display() { function NewInfoWindow (line 42) | func NewInfoWindow(b *info.InfoBuf) *InfoWindow { FILE: internal/display/softwrap.go type SLoc (line 13) | type SLoc struct method LessThan (line 18) | func (s SLoc) LessThan(b SLoc) bool { method GreaterThan (line 26) | func (s SLoc) GreaterThan(b SLoc) bool { method LessEqual (line 34) | func (s SLoc) LessEqual(b SLoc) bool { method GreaterEqual (line 45) | func (s SLoc) GreaterEqual(b SLoc) bool { type VLoc (line 57) | type VLoc struct type SoftWrap (line 62) | type SoftWrap interface method getVLocFromLoc (line 70) | func (w *BufWindow) getVLocFromLoc(loc buffer.Loc) VLoc { method getLocFromVLoc (line 145) | func (w *BufWindow) getLocFromVLoc(svloc VLoc) buffer.Loc { method getRowCount (line 226) | func (w *BufWindow) getRowCount(line int) int { method scrollUp (line 231) | func (w *BufWindow) scrollUp(s SLoc, n int) SLoc { method scrollDown (line 248) | func (w *BufWindow) scrollDown(s SLoc, n int) SLoc { method scroll (line 266) | func (w *BufWindow) scroll(s SLoc, n int) SLoc { method diff (line 273) | func (w *BufWindow) diff(s1, s2 SLoc) int { method Scroll (line 292) | func (w *BufWindow) Scroll(s SLoc, n int) SLoc { method Diff (line 301) | func (w *BufWindow) Diff(s1, s2 SLoc) int { method SLocFromLoc (line 313) | func (w *BufWindow) SLocFromLoc(loc buffer.Loc) SLoc { method VLocFromLoc (line 322) | func (w *BufWindow) VLocFromLoc(loc buffer.Loc) VLoc { method LocFromVLoc (line 334) | func (w *BufWindow) LocFromVLoc(vloc VLoc) buffer.Loc { FILE: internal/display/statusline.go type StatusLine (line 25) | type StatusLine struct method FindOpt (line 99) | func (s *StatusLine) FindOpt(opt string) any { method Display (line 109) | func (s *StatusLine) Display() { function SetStatusInfoFnLua (line 64) | func SetStatusInfoFnLua(fn string) { function NewStatusLine (line 92) | func NewStatusLine(win *BufWindow) *StatusLine { FILE: internal/display/tabwindow.go type TabWindow (line 12) | type TabWindow struct method Resize (line 27) | func (w *TabWindow) Resize(width, height int) { method LocFromVisual (line 31) | func (w *TabWindow) LocFromVisual(vloc buffer.Loc) int { method Scroll (line 49) | func (w *TabWindow) Scroll(amt int) { method TotalSize (line 59) | func (w *TabWindow) TotalSize() int { method Active (line 67) | func (w *TabWindow) Active() int { method SetActive (line 71) | func (w *TabWindow) SetActive(a int) { method Display (line 94) | func (w *TabWindow) Display() { function NewTabWindow (line 20) | func NewTabWindow(w int, y int) *TabWindow { FILE: internal/display/termwindow.go type TermWindow (line 13) | type TermWindow struct method Resize (line 30) | func (w *TermWindow) Resize(width, height int) { method SetActive (line 38) | func (w *TermWindow) SetActive(b bool) { method IsActive (line 42) | func (w *TermWindow) IsActive() bool { method LocFromVisual (line 46) | func (w *TermWindow) LocFromVisual(vloc buffer.Loc) buffer.Loc { method Clear (line 50) | func (w *TermWindow) Clear() { method Relocate (line 58) | func (w *TermWindow) Relocate() bool { return true } method GetView (line 59) | func (w *TermWindow) GetView() *View { method SetView (line 62) | func (w *TermWindow) SetView(v *View) { method Display (line 67) | func (w *TermWindow) Display() { function NewTermWindow (line 20) | func NewTermWindow(x, y, w, h int, term *shell.Terminal) *TermWindow { FILE: internal/display/uiwindow.go type UIWindow (line 11) | type UIWindow struct method drawNode (line 21) | func (w *UIWindow) drawNode(n *views.Node) { method Display (line 52) | func (w *UIWindow) Display() { method GetMouseSplitNode (line 56) | func (w *UIWindow) GetMouseSplitNode(vloc buffer.Loc) *views.Node { method Resize (line 85) | func (w *UIWindow) Resize(width, height int) {} method SetActive (line 86) | func (w *UIWindow) SetActive(b bool) {} function NewUIWindow (line 15) | func NewUIWindow(n *views.Node) *UIWindow { FILE: internal/display/window.go type View (line 7) | type View struct type Window (line 20) | type Window interface type BWindow (line 32) | type BWindow interface FILE: internal/info/gutter.go type GutterMessage (line 4) | type GutterMessage struct constant GutterInfo (line 13) | GutterInfo = iota constant GutterWarning (line 15) | GutterWarning constant GutterError (line 17) | GutterError FILE: internal/info/history.go method LoadHistory (line 20) | func (i *InfoBuf) LoadHistory() { method SaveHistory (line 46) | func (i *InfoBuf) SaveHistory() { method AddToHistory (line 74) | func (i *InfoBuf) AddToHistory(ptype string, item string) { method UpHistory (line 96) | func (i *InfoBuf) UpHistory(history []string) { method DownHistory (line 105) | func (i *InfoBuf) DownHistory(history []string) { method SearchUpHistory (line 115) | func (i *InfoBuf) SearchUpHistory(history []string) { method SearchDownHistory (line 123) | func (i *InfoBuf) SearchDownHistory(history []string) { method searchHistory (line 129) | func (i *InfoBuf) searchHistory(history []string, down bool) { FILE: internal/info/infobuffer.go type InfoBuf (line 11) | type InfoBuf struct method Close (line 53) | func (i *InfoBuf) Close() { method Message (line 58) | func (i *InfoBuf) Message(msg ...any) { method GutterMessage (line 70) | func (i *InfoBuf) GutterMessage(msg ...any) { method ClearGutter (line 76) | func (i *InfoBuf) ClearGutter() { method Error (line 82) | func (i *InfoBuf) Error(msg ...any) { method Prompt (line 97) | func (i *InfoBuf) Prompt(prompt string, msg string, ptype string, even... method YNPrompt (line 123) | func (i *InfoBuf) YNPrompt(prompt string, donecb func(bool, bool)) { method DonePrompt (line 137) | func (i *InfoBuf) DonePrompt(canceled bool) { method Reset (line 174) | func (i *InfoBuf) Reset() { function NewBuffer (line 42) | func NewBuffer() *InfoBuf { FILE: internal/lua/lua.go function LoadFile (line 31) | func LoadFile(module string, file string, data []byte) error { function Import (line 43) | func Import(pkg string) *lua.LTable { function importFmt (line 86) | func importFmt() *lua.LTable { function importIo (line 112) | func importIo() *lua.LTable { function importIoUtil (line 137) | func importIoUtil() *lua.LTable { function importNet (line 148) | func importNet() *lua.LTable { function importMath (line 216) | func importMath() *lua.LTable { function importMathRand (line 284) | func importMathRand() *lua.LTable { function importOs (line 304) | func importOs() *lua.LTable { function importRuntime (line 399) | func importRuntime() *lua.LTable { function importPath (line 411) | func importPath() *lua.LTable { function importFilePath (line 427) | func importFilePath() *lua.LTable { function importStrings (line 451) | func importStrings() *lua.LTable { function importRegexp (line 501) | func importRegexp() *lua.LTable { function importErrors (line 516) | func importErrors() *lua.LTable { function importTime (line 524) | func importTime() *lua.LTable { function importUtf8 (line 556) | func importUtf8() *lua.LTable { function importHumanize (line 577) | func importHumanize() *lua.LTable { function importHTTP (line 586) | func importHTTP() *lua.LTable { function importArchiveZip (line 595) | func importArchiveZip() *lua.LTable { FILE: internal/screen/message.go function TermMessage (line 17) | func TermMessage(msg ...any) { function TermPrompt (line 34) | func TermPrompt(prompt string, options []string, wait bool) int { function TermError (line 63) | func TermError(filename string, lineNum int, err string) { FILE: internal/screen/screen.go function Lock (line 42) | func Lock() { function Unlock (line 47) | func Unlock() { function Redraw (line 52) | func Redraw() { function DrawChan (line 61) | func DrawChan() chan bool { type screenCell (line 65) | type screenCell struct function ShowFakeCursor (line 80) | func ShowFakeCursor(x, y int) { function UseFake (line 91) | func UseFake() bool { function ShowFakeCursorMulti (line 98) | func ShowFakeCursorMulti(x, y int) { function ShowCursor (line 106) | func ShowCursor(x, y int) { function SetContent (line 116) | func SetContent(x, y int, mainc rune, combc []rune, style tcell.Style) { function RegisterRawSeq (line 130) | func RegisterRawSeq(r string) { function UnregisterRawSeq (line 144) | func UnregisterRawSeq(r string) { function TempFini (line 158) | func TempFini() bool { function TempStart (line 170) | func TempStart(screenWasNil bool) { function Init (line 182) | func Init() error { function InitSimScreen (line 242) | func InitSimScreen() (tcell.SimulationScreen, error) { FILE: internal/shell/job.go function init (line 11) | func init() { type JobFunction (line 26) | type JobFunction struct type CallbackFile (line 33) | type CallbackFile struct method Write (line 46) | func (f *CallbackFile) Write(data []byte) (int, error) { type Job (line 41) | type Job struct function JobStart (line 56) | func JobStart(cmd string, onStdout, onStderr, onExit func(string, []any)... function JobSpawn (line 62) | func JobSpawn(cmdName string, cmdArgs []string, onStdout, onStderr, onEx... function JobStop (line 91) | func JobStop(j *Job) { function JobSend (line 96) | func JobSend(j *Job, data string) { FILE: internal/shell/shell.go function ExecCommand (line 19) | func ExecCommand(name string, arg ...string) (string, error) { function RunCommand (line 35) | func RunCommand(input string) (string, error) { function RunBackgroundShell (line 51) | func RunBackgroundShell(input string) (func() string, error) { function RunInteractiveShell (line 72) | func RunInteractiveShell(input string, wait bool, getOutput bool) (strin... FILE: internal/shell/terminal.go type TermType (line 13) | type TermType type CallbackFunc (line 14) | type CallbackFunc constant TTClose (line 17) | TTClose = iota constant TTRunning (line 18) | TTRunning constant TTDone (line 19) | TTDone function init (line 24) | func init() { type Terminal (line 29) | type Terminal struct method HasSelection (line 42) | func (t *Terminal) HasSelection() bool { method Name (line 46) | func (t *Terminal) Name() string { method GetSelection (line 51) | func (t *Terminal) GetSelection(width int) string { method Start (line 72) | func (t *Terminal) Start(execCmd []string, getOutput bool, wait bool, ... method Stop (line 114) | func (t *Terminal) Stop() { method Close (line 127) | func (t *Terminal) Close() { method WriteString (line 144) | func (t *Terminal) WriteString(str string) { FILE: internal/util/lua.go function LuaRuneAt (line 5) | func LuaRuneAt(str string, runeidx int) string { function LuaGetLeadingWhitespace (line 22) | func LuaGetLeadingWhitespace(s string) string { function LuaIsWordChar (line 38) | func LuaIsWordChar(s string) bool { FILE: internal/util/profile.go function GetMemStats (line 13) | func GetMemStats() string { function Tic (line 19) | func Tic(s string) time.Time { function Toc (line 24) | func Toc(start time.Time) { FILE: internal/util/unicode.go function isMark (line 21) | func isMark(r rune) bool { function DecodeCharacter (line 31) | func DecodeCharacter(b []byte) (rune, []rune, int) { function DecodeCharacterInString (line 50) | func DecodeCharacterInString(str string) (rune, []rune, int) { function CharacterCount (line 69) | func CharacterCount(b []byte) int { function CharacterCountInString (line 86) | func CharacterCountInString(str string) int { FILE: internal/util/util.go constant FileMode (line 52) | FileMode os.FileMode = 0666 constant BackupSuffix (line 54) | BackupSuffix = ".micro-backup" constant OverwriteFailMsg (line 56) | OverwriteFailMsg = `An error occurred while writing to the file: type OverwriteError (line 69) | type OverwriteError struct method Error (line 74) | func (e OverwriteError) Error() string { method Is (line 78) | func (e OverwriteError) Is(target error) bool { method Unwrap (line 82) | func (e OverwriteError) Unwrap() error { function init (line 86) | func init() { function SliceEnd (line 98) | func SliceEnd(slc []byte, index int) []byte { function SliceEndStr (line 116) | func SliceEndStr(str string, index int) string { function SliceStart (line 135) | func SliceStart(slc []byte, index int) []byte { function SliceStartStr (line 153) | func SliceStartStr(str string, index int) string { function SliceVisualEnd (line 174) | func SliceVisualEnd(b []byte, n, tabsize int) ([]byte, int, int) { function Abs (line 199) | func Abs(n int) int { function StringWidth (line 208) | func StringWidth(b []byte, n, tabsize int) int { function Min (line 236) | func Min(a, b int) int { function Max (line 244) | func Max(a, b int) int { function FSize (line 252) | func FSize(f *os.File) int64 { function IsWordChar (line 259) | func IsWordChar(r rune) bool { function IsNonWordChar (line 266) | func IsNonWordChar(r rune) bool { function IsSubwordDelimiter (line 273) | func IsSubwordDelimiter(r rune) bool { function IsAlphanumeric (line 279) | func IsAlphanumeric(r rune) bool { function IsUpperAlphanumeric (line 285) | func IsUpperAlphanumeric(r rune) bool { function IsLowerAlphanumeric (line 291) | func IsLowerAlphanumeric(r rune) bool { function IsUpperLetter (line 297) | func IsUpperLetter(r rune) bool { function IsLowerLetter (line 304) | func IsLowerLetter(r rune) bool { function Spaces (line 310) | func Spaces(n int) string { function IsSpaces (line 315) | func IsSpaces(str []byte) bool { function IsSpacesOrTabs (line 326) | func IsSpacesOrTabs(str []byte) bool { function IsWhitespace (line 337) | func IsWhitespace(c rune) bool { function IsBytesWhitespace (line 342) | func IsBytesWhitespace(b []byte) bool { function RunePos (line 353) | func RunePos(b []byte, i int) int { function IndexAnyUnquoted (line 360) | func IndexAnyUnquoted(s, chars string) int { function MakeRelative (line 380) | func MakeRelative(path, base string) (string, error) { function ReplaceHome (line 393) | func ReplaceHome(path string) (string, error) { function GetPathAndCursorPosition (line 422) | func GetPathAndCursorPosition(path string) (string, []string) { function GetModTime (line 437) | func GetModTime(path string) (time.Time, error) { function HashStringMd5 (line 445) | func HashStringMd5(str string) string { function EscapePathUrl (line 450) | func EscapePathUrl(path string) string { function EscapePathLegacy (line 455) | func EscapePathLegacy(path string) string { function DetermineEscapePath (line 473) | func DetermineEscapePath(dir string, path string) (string, string) { function GetLeadingWhitespace (line 493) | func GetLeadingWhitespace(b []byte) []byte { function GetTrailingWhitespace (line 509) | func GetTrailingWhitespace(b []byte) []byte { function HasTrailingWhitespace (line 525) | func HasTrailingWhitespace(b []byte) bool { function IntOpt (line 531) | func IntOpt(opt any) int { function GetCharPosInLine (line 538) | func GetCharPosInLine(b []byte, visualPos int, tabsize int) int { function ParseBool (line 569) | func ParseBool(str string) (bool, error) { function Clamp (line 580) | func Clamp(val, min, max int) int { function IsAutocomplete (line 590) | func IsAutocomplete(c rune) bool { function String (line 595) | func String(s []byte) string { function Unzip (line 600) | func Unzip(src, dest string) error { function HttpRequest (line 653) | func HttpRequest(method string, url string, headers []string) (resp *htt... function SafeWrite (line 687) | func SafeWrite(path string, bytes []byte, rename bool) error { FILE: internal/util/util_test.go function TestStringWidth (line 9) | func TestStringWidth(t *testing.T) { function TestSliceVisualEnd (line 16) | func TestSliceVisualEnd(t *testing.T) { FILE: internal/views/splits.go type SplitType (line 8) | type SplitType constant STVert (line 11) | STVert = 0 constant STHoriz (line 12) | STHoriz = 1 constant STUndef (line 13) | STUndef = 2 function NewID (line 19) | func NewID() uint64 { type View (line 25) | type View struct type Node (line 34) | type Node struct method IsLeaf (line 88) | func (n *Node) IsLeaf() bool { method ID (line 93) | func (n *Node) ID() uint64 { method CanResize (line 101) | func (n *Node) CanResize() bool { method PropScale (line 106) | func (n *Node) PropScale() bool { method SetResize (line 111) | func (n *Node) SetResize(b bool) { method SetPropScale (line 116) | func (n *Node) SetPropScale(b bool) { method Children (line 121) | func (n *Node) Children() []*Node { method GetNode (line 127) | func (n *Node) GetNode(id uint64) *Node { method vResizeSplit (line 143) | func (n *Node) vResizeSplit(i int, size int) bool { method hResizeSplit (line 164) | func (n *Node) hResizeSplit(i int, size int) bool { method ResizeSplit (line 187) | func (n *Node) ResizeSplit(size int) bool { method Resize (line 209) | func (n *Node) Resize(w, h int) { method alignSizes (line 236) | func (n *Node) alignSizes(totw, toth int) { method markSizes (line 249) | func (n *Node) markSizes() { method markResize (line 257) | func (n *Node) markResize() { method vVSplit (line 263) | func (n *Node) vVSplit(right bool) uint64 { method hHSplit (line 274) | func (n *Node) hHSplit(bottom bool) uint64 { method getResizeInfo (line 286) | func (n *Node) getResizeInfo(h bool) (int, int) { method applyNewSize (line 311) | func (n *Node) applyNewSize(size int, h bool) { method vHSplit (line 339) | func (n *Node) vHSplit(i int, right bool) uint64 { method hVSplit (line 375) | func (n *Node) hVSplit(i int, right bool) uint64 { method HSplit (line 412) | func (n *Node) HSplit(bottom bool) uint64 { method VSplit (line 428) | func (n *Node) VSplit(right bool) uint64 { method unsplit (line 442) | func (n *Node) unsplit(i int) { method Unsplit (line 464) | func (n *Node) Unsplit() bool { method flatten (line 485) | func (n *Node) flatten() { method String (line 544) | func (n *Node) String() string { function NewNode (line 59) | func NewNode(Kind SplitType, x, y, w, h int, parent *Node, id uint64) *N... function NewRoot (line 81) | func NewRoot(x, y, w, h int) *Node { FILE: internal/views/splits_test.go function TestHSplit (line 8) | func TestHSplit(t *testing.T) { FILE: pkg/highlight/highlighter.go function sliceStart (line 8) | func sliceStart(slc []byte, index int) []byte { function sliceEnd (line 25) | func sliceEnd(slc []byte, index int) []byte { function runePos (line 44) | func runePos(p int, str []byte) int { type State (line 55) | type State type LineStates (line 58) | type LineStates interface type Highlighter (line 69) | type Highlighter struct method highlightRegion (line 113) | func (h *Highlighter) highlightRegion(highlights LineMatch, start int,... method highlightEmptyRegion (line 207) | func (h *Highlighter) highlightEmptyRegion(highlights LineMatch, start... method HighlightString (line 272) | func (h *Highlighter) HighlightString(input string) []LineMatch { method HighlightStates (line 291) | func (h *Highlighter) HighlightStates(input LineStates) { method HighlightMatches (line 318) | func (h *Highlighter) HighlightMatches(input LineStates, startline, en... method ReHighlightStates (line 344) | func (h *Highlighter) ReHighlightStates(input LineStates, startline in... method ReHighlightLine (line 386) | func (h *Highlighter) ReHighlightLine(input LineStates, lineN int) { function NewHighlighter (line 75) | func NewHighlighter(def *Def) *Highlighter { type LineMatch (line 83) | type LineMatch function findIndex (line 85) | func findIndex(regex *regexp.Regexp, skip *regexp.Regexp, str []byte) []... function findAllIndex (line 104) | func findAllIndex(regex *regexp.Regexp, str []byte) [][]int { FILE: pkg/highlight/parser.go type Group (line 13) | type Group method String (line 21) | func (g Group) String() string { type Def (line 34) | type Def struct type Header (line 39) | type Header struct method MatchFileName (line 158) | func (header *Header) MatchFileName(filename string) bool { method MatchFileHeader (line 166) | func (header *Header) MatchFileHeader(firstLine []byte) bool { method HasFileSignature (line 175) | func (header *Header) HasFileSignature() bool { method MatchFileSignature (line 180) | func (header *Header) MatchFileSignature(line []byte) bool { type HeaderYaml (line 46) | type HeaderYaml struct type File (line 55) | type File struct type pattern (line 63) | type pattern struct type rules (line 70) | type rules struct type region (line 81) | type region struct function init (line 91) | func init() { function MakeHeader (line 99) | func MakeHeader(data []byte) (*Header, error) { function MakeHeaderYaml (line 130) | func MakeHeaderYaml(data []byte) (*Header, error) { function ParseFile (line 188) | func ParseFile(input []byte) (f *File, err error) { function ParseDef (line 229) | func ParseDef(f *File, header *Header) (s *Def, err error) { function HasIncludes (line 268) | func HasIncludes(d *Def) bool { function hasIncludesInRegion (line 276) | func hasIncludesInRegion(region *region) bool { function GetIncludes (line 285) | func GetIncludes(d *Def) []string { function getIncludesInRegion (line 293) | func getIncludesInRegion(region *region) []string { function ResolveIncludes (line 303) | func ResolveIncludes(def *Def, files []*File) { function resolveIncludesInDef (line 307) | func resolveIncludesInDef(files []*File, d *Def) { function resolveIncludesInRegion (line 323) | func resolveIncludesInRegion(files []*File, region *region) { function parseRules (line 339) | func parseRules(input []any, curRegion *region) (ru *rules, err error) { function parseRegion (line 395) | func parseRegion(group string, regionInfo map[any]any, prevRegion *regio... FILE: pkg/highlight/unicode.go function isMark (line 10) | func isMark(r rune) bool { function DecodeCharacter (line 20) | func DecodeCharacter(b []byte) (rune, []rune, int) { function DecodeCharacterInString (line 39) | func DecodeCharacterInString(str string) (rune, []rune, int) { function CharacterCount (line 58) | func CharacterCount(b []byte) int { function CharacterCountInString (line 75) | func CharacterCountInString(str string) int { FILE: runtime/runtime.go function fixPath (line 14) | func fixPath(name string) string { function AssetDir (line 19) | func AssetDir(name string) ([]string, error) { function Asset (line 33) | func Asset(name string) ([]byte, error) { FILE: runtime/runtime_test.go function TestAssetDir (line 9) | func TestAssetDir(t *testing.T) { FILE: runtime/syntax/make_headers.go type HeaderYaml (line 16) | type HeaderYaml struct type Header (line 25) | type Header struct function main (line 32) | func main() { function convert (line 45) | func convert(name string) { function encode (line 59) | func encode(name string, c HeaderYaml) { function decode (line 68) | func decode(name string) Header { FILE: runtime/syntax/syntax_converter.go type SingleRule (line 12) | type SingleRule struct type MultiRule (line 17) | type MultiRule struct function JoinRule (line 25) | func JoinRule(rule string) string { function parseFile (line 31) | func parseFile(text, filename string) (filetype, syntax, header string, ... function generateFile (line 132) | func generateFile(filetype, syntax, header string, rules []any) string { function main (line 157) | func main() { FILE: tools/build-date.go function main (line 12) | func main() { FILE: tools/build-version.go function getTag (line 14) | func getTag(match ...string) (string, *semver.PRVersion) { function main (line 40) | func main() { FILE: tools/info-plist.go function main (line 11) | func main() { FILE: tools/remove-nightly-assets.go function main (line 15) | func main() { FILE: tools/testgen.go type walker (line 16) | type walker struct method Enter (line 20) | func (w *walker) Enter(node ast.Node) ast.Visitor { method Exit (line 25) | func (w *walker) Exit(node ast.Node) { function getAllNodes (line 28) | func getAllNodes(node ast.Node) []ast.Node { function getCalls (line 34) | func getCalls(node ast.Node, name string) []*ast.CallExpression { function getPropertyValue (line 55) | func getPropertyValue(node ast.Node, key string) ast.Expression { type operation (line 64) | type operation struct type check (line 72) | type check struct type test (line 78) | type test struct function stringSliceToGoSource (line 83) | func stringSliceToGoSource(slice []string) string { function testToGoTest (line 93) | func testToGoTest(test test, name string) string { function nodeToStringSlice (line 122) | func nodeToStringSlice(node ast.Node) []string { function nodeToStringSlice2 (line 130) | func nodeToStringSlice2(node ast.Node) []string { function nodeToInt (line 138) | func nodeToInt(node ast.Node) int { function getChecks (line 142) | func getChecks(node ast.Node) []check { function getTests (line 195) | func getTests(node ast.Node) []test { function main (line 208) | func main() {