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

Method GetCursors

internal/buffer/buffer.go:1061–1063  ·  view source on GitHub ↗

GetCursors returns the list of cursors in this buffer

()

Source from the content-addressed store, hash-verified

1059
1060// GetCursors returns the list of cursors in this buffer
1061func (b *Buffer) GetCursors() []*Cursor {
1062 return b.cursors
1063}
1064
1065// NumCursors returns the number of cursors
1066func (b *Buffer) NumCursors() int {

Callers 8

SetBufferMethod · 0.80
updateDisplayInfoMethod · 0.80
displayBufferMethod · 0.80
BufMapEventFunction · 0.80
HandleEventMethod · 0.80
DoRuneInsertMethod · 0.80
MouseMultiCursorMethod · 0.80
TextFilterCmdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected