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

Method DownN

internal/buffer/cursor.go:272–274  ·  view source on GitHub ↗

DownN moves the cursor down N lines (if possible)

(amount int)

Source from the content-addressed store, hash-verified

270
271// DownN moves the cursor down N lines (if possible)
272func (c *Cursor) DownN(amount int) {
273 c.UpN(-amount)
274}
275
276// Up moves the cursor up one line (if possible)
277func (c *Cursor) Up() {

Callers 2

DownMethod · 0.95
MoveCursorDownMethod · 0.80

Calls 1

UpNMethod · 0.95

Tested by

no test coverage detected