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

Function onPromptClose

src/codemirror.js:10569–10576  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

10567 });
10568 }
10569 function onPromptClose(query) {
10570 cm.scrollTo(originalScrollPos.left, originalScrollPos.top);
10571 handleQuery(query, true /** ignoreCase */, true /** smartCase */);
10572 var macroModeState = vimGlobalState.macroModeState;
10573 if (macroModeState.isRecording) {
10574 logSearchQuery(macroModeState, query);
10575 }
10576 }
10577 function onPromptKeyUp(e, query, close) {
10578 var keyName = CodeMirror.keyName(e), up;
10579 if (keyName == 'Up' || keyName == 'Down') {

Callers

nothing calls this directly

Calls 4

handleQueryFunction · 0.85
logSearchQueryFunction · 0.85
scrollToMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected