MCPcopy Create free account
hub / github.com/cogentcore/core / cursorMovedEvent

Method cursorMovedEvent

texteditor/nav.go:22–24  ·  view source on GitHub ↗

Cursor Navigation cursorMovedEvent sends the event that cursor has moved

()

Source from the content-addressed store, hash-verified

20
21// cursorMovedEvent sends the event that cursor has moved
22func (ed *Editor) cursorMovedEvent() {
23 ed.Send(events.Input, nil)
24}
25
26// validateCursor sets current cursor to a valid cursor position
27func (ed *Editor) validateCursor() {

Callers 4

setCursorMethod · 0.95
CursorToHistoryPrevMethod · 0.95
CursorToHistoryNextMethod · 0.95
undoMethod · 0.95

Calls 1

SendMethod · 0.45

Tested by

no test coverage detected