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

Function showPrompt

src/codemirror.js:13141–13145  ·  view source on GitHub ↗
(cm, options)

Source from the content-addressed store, hash-verified

13139 }
13140 var searchPromptDesc = '(Javascript regexp)';
13141 function showPrompt(cm, options) {
13142 var shortText = (options.prefix || '') + ' ' + (options.desc || '');
13143 var prompt = makePrompt(options.prefix, options.desc);
13144 dialog(cm, prompt, shortText, options.onClose, options);
13145 }
13146 function regexEqual(r1, r2) {
13147 if (r1 instanceof RegExp && r2 instanceof RegExp) {
13148 var props = ['global', 'multiline', 'ignoreCase', 'source'];

Callers 2

VimFunction · 0.85
doReplaceFunction · 0.85

Calls 2

makePromptFunction · 0.85
dialogFunction · 0.85

Tested by

no test coverage detected