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

Method GetCursor

internal/buffer/buffer.go:1056–1058  ·  view source on GitHub ↗

GetCursor returns the nth cursor

(n int)

Source from the content-addressed store, hash-verified

1054
1055// GetCursor returns the nth cursor
1056func (b *Buffer) GetCursor(n int) *Cursor {
1057 return b.cursors[n]
1058}
1059
1060// GetCursors returns the list of cursors in this buffer
1061func (b *Buffer) GetCursors() []*Cursor {

Callers 3

SpawnMultiCursorMethod · 0.80
SpawnMultiCursorUpNMethod · 0.80
skipMultiCursorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected