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

Method NumCursors

internal/buffer/buffer.go:1066–1068  ·  view source on GitHub ↗

NumCursors returns the number of cursors

()

Source from the content-addressed store, hash-verified

1064
1065// NumCursors returns the number of cursors
1066func (b *Buffer) NumCursors() int {
1067 return len(b.cursors)
1068}
1069
1070// MergeCursors merges any cursors that are at the same position
1071// into one cursor

Callers 13

MousePressMethod · 0.80
CutLineMethod · 0.80
PasteMethod · 0.80
PastePrimaryMethod · 0.80
SpawnMultiCursorMethod · 0.80
SpawnMultiCursorUpNMethod · 0.80
MouseMultiCursorMethod · 0.80
skipMultiCursorMethod · 0.80
RemoveMultiCursorMethod · 0.80
RemoveAllMultiCursorsMethod · 0.80
checkFunction · 0.80

Calls

no outgoing calls

Tested by 1

checkFunction · 0.64