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

Method clearCursor

texteditor/cursor.go:62–65  ·  view source on GitHub ↗

clearCursor turns off cursor and stops it from blinking

()

Source from the content-addressed store, hash-verified

60
61// clearCursor turns off cursor and stops it from blinking
62func (ed *Editor) clearCursor() {
63 ed.stopCursor()
64 ed.renderCursor(false)
65}
66
67// stopCursor stops the cursor from blinking
68func (ed *Editor) stopCursor() {

Callers 2

editDoneMethod · 0.95
handleFocusMethod · 0.95

Calls 2

stopCursorMethod · 0.95
renderCursorMethod · 0.95

Tested by

no test coverage detected