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

Method setCursor

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

Set the cursor position.You can either pass a single { line , ch } object , or the line and the character as two separate parameters.

(pos: CodeMirror.Position)

Source from the content-addressed store, hash-verified

508
509 /** Set the cursor position.You can either pass a single { line , ch } object , or the line and the character as two separate parameters. */
510 setCursor(pos: CodeMirror.Position): void;
511
512 /** Set the selection range.anchor and head should be { line , ch } objects.head defaults to anchor when not given. */
513 setSelection(anchor: CodeMirror.Position, head: CodeMirror.Position): void;

Callers 13

setMarkFunction · 0.80
clearMarkFunction · 0.80
operateOnWordFunction · 0.80
codemirror.jsFile · 0.80
getOnPasteFnFunction · 0.80
VimFunction · 0.80
extendLineToColumnFunction · 0.80
exitVisualModeFunction · 0.80
stopFunction · 0.80
exitInsertModeFunction · 0.80
repeatInsertModeChangesFunction · 0.80
formatBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected