MCPcopy
hub / github.com/VSCodeVim/Vim / getDocumentRange

Method getDocumentRange

src/textEditor.ts:187–189  ·  view source on GitHub ↗
(document: vscode.TextDocument)

Source from the content-addressed store, hash-verified

185 }
186
187 static getDocumentRange(document: vscode.TextDocument): vscode.Range {
188 return new vscode.Range(TextEditor.getDocumentBegin(), TextEditor.getDocumentEnd(document));
189 }
190
191 /**
192 * @returns the Position of the first character on the given line which is not whitespace.

Callers 6

applyDocStateFunction · 0.80
setupWorkspaceFunction · 0.80
replaceContentFunction · 0.80
updateViewMethod · 0.80
execActionMethod · 0.80
allMatchesMethod · 0.80

Calls 2

getDocumentBeginMethod · 0.80
getDocumentEndMethod · 0.80

Tested by

no test coverage detected