MCPcopy
hub / github.com/witheve/Eve / getCursor

Method getCursor

typings/codemirror/codemirror.d.ts:500–500  ·  view source on GitHub ↗

start is a an optional string indicating which end of the selection to return. It may be "start" , "end" , "head"(the side of the selection that moves when you press shift + arrow), or "anchor"(the fixed side of the selection).Omitting the argument is the same as passing "head".A { l

(start?: string)

Source from the content-addressed store, hash-verified

498 It may be "start" , "end" , "head"(the side of the selection that moves when you press shift + arrow),
499 or "anchor"(the fixed side of the selection).Omitting the argument is the same as passing "head".A { line , ch } object will be returned. */
500 getCursor(start?: string): CodeMirror.Position;
501
502 /** Retrieves a list of all current selections. These will always be sorted, and never overlap (overlapping selections are merged).
503 Each object in the array contains anchor and head properties referring to {line, ch} objects. */

Callers 15

codemirror.jsFile · 0.80
ensureCursorVisibleFunction · 0.80
fFunction · 0.80
setMarkFunction · 0.80
clearMarkFunction · 0.80
operateOnWordFunction · 0.80
toEnclosingExprFunction · 0.80
getOnPasteFnFunction · 0.80
moveFunction · 0.80
handleKeyInsertModeFunction · 0.80
VimFunction · 0.80
extendLineToColumnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected