MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / showConfirm

Function showConfirm

lib/web/CodeMirror/keymap/vim.js:4309–4316  ·  view source on GitHub ↗
(cm, text)

Source from the content-addressed store, hash-verified

4307 return regexp;
4308 }
4309 function showConfirm(cm, text) {
4310 if (cm.openNotification) {
4311 cm.openNotification('<span style="color: red">' + text + '</span>',
4312 {bottom: true, duration: 5000});
4313 } else {
4314 alert(text);
4315 }
4316 }
4317 function makePrompt(prefix, desc) {
4318 var raw = '<span style="font-family: monospace; white-space: pre">' +
4319 (prefix || "") + '<input type="text" autocorrect="off" ' +

Callers 3

handleQueryFunction · 0.85
VimFunction · 0.85
doReplaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected