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

Method getRange

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

Get the text between the given points in the editor, which should be {line, ch} objects. An optional third argument can be given to indicate the line separator string to use (defaults to "\n").

(from: Position, to: CodeMirror.Position, seperator?: string)

Source from the content-addressed store, hash-verified

438 /** Get the text between the given points in the editor, which should be {line, ch} objects.
439 An optional third argument can be given to indicate the line separator string to use (defaults to "\n"). */
440 getRange(from: Position, to: CodeMirror.Position, seperator?: string): string;
441
442 /** Replace the part of the document between from and to with the given string.
443 from and to must be {line, ch} objects. to can be left off to simply insert the string at position from. */

Callers 9

copyableRangesFunction · 0.80
killFunction · 0.80
operateOnWordFunction · 0.80
codemirror.jsFile · 0.80
VimFunction · 0.80
clipToLineFunction · 0.80
replaceFunction · 0.80
normalizeMethod · 0.80
normalizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected