MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / allKeyMaps

Function allKeyMaps

static/js/codemirror/codemirror.js:1874–1879  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

1872 }
1873
1874 function allKeyMaps(cm) {
1875 var maps = cm.state.keyMaps.slice(0);
1876 maps.push(cm.options.keyMap);
1877 if (cm.options.extraKeys) maps.unshift(cm.options.extraKeys);
1878 return maps;
1879 }
1880
1881 var maybeTransition;
1882 function handleKeyBinding(cm, e) {

Callers 2

handleKeyBindingFunction · 0.85
handleCharBindingFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected