MCPcopy Index your code
hub / github.com/witheve/Eve / clearPrefix

Function clearPrefix

src/codemirror.js:9116–9120  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

9114 }
9115
9116 function clearPrefix(cm) {
9117 cm.state.emacsPrefix = null;
9118 cm.off("keyHandled", maybeClearPrefix);
9119 cm.off("inputRead", maybeDuplicateInput);
9120 }
9121
9122 function maybeDuplicateInput(cm, event) {
9123 var dup = getPrefix(cm);

Callers 2

getPrefixFunction · 0.85
maybeClearPrefixFunction · 0.85

Calls 1

offMethod · 0.80

Tested by

no test coverage detected