MCPcopy
hub / github.com/hokein/electron-sample-apps / keyMapChanged

Function keyMapChanged

mini-code-editor/cm/lib/codemirror.js:1392–1396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1390 options.theme.replace(/(^|\s)\s*/g, " cm-s-");
1391 }
1392 function keyMapChanged() {
1393 var style = keyMap[options.keyMap].style;
1394 wrapper.className = wrapper.className.replace(/\s*cm-keymap-\S+/g, "") +
1395 (style ? " cm-keymap-" + style : "");
1396 }
1397
1398 function TextMarker() { this.set = []; }
1399 TextMarker.prototype.clear = operation(function() {

Callers 1

CodeMirrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected