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

Function p1

test/testSimplifier.ts:405–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403 };
404
405 const p1 = () => {
406 return new Promise<ResultType>((p1Resolve, p1Reject) => {
407 setTimeout(() => {
408 // Get lines, position and mode after half timeout finishes
409 p1Resolve({
410 lines: modeHandler.vimState.document.getText(),
411 position: modeHandler.vimState.editor.selection.start,
412 endMode: modeHandler.vimState.currentMode,
413 });
414 }, timeoutOffset);
415 });
416 };
417
418 const p2 = () => {
419 return new Promise<ResultType | undefined>((p2Resolve, p2Reject) => {

Callers 1

testItWithRemapsFunction · 0.85

Calls 1

getTextMethod · 0.80

Tested by

no test coverage detected