MCPcopy
hub / github.com/micro-editor/micro / Start

Method Start

internal/buffer/cursor.go:108–111  ·  view source on GitHub ↗

Start moves the cursor to the start of the line it is on

()

Source from the content-addressed store, hash-verified

106
107// Start moves the cursor to the start of the line it is on
108func (c *Cursor) Start() {
109 c.X = 0
110 c.StoreVisualX()
111}
112
113// StartOfText moves the cursor to the first non-whitespace rune of
114// the line it is on

Callers 15

StartOfTextMethod · 0.95
SelectLineMethod · 0.95
AddLineToSelectionMethod · 0.95
RightMethod · 0.95
ApplyDiffMethod · 0.45
leftMethod · 0.45
clampFunction · 0.45
openFileFunction · 0.45
NewBufferFunction · 0.45
ResetSelectionMethod · 0.45
LeftMethod · 0.45
PromptMethod · 0.45

Calls 1

StoreVisualXMethod · 0.95

Tested by

no test coverage detected