(cm)
| 2958 | |
| 2959 | // Collect the currently active keymaps. |
| 2960 | function allKeyMaps(cm) { |
| 2961 | var maps = cm.state.keyMaps.slice(0); |
| 2962 | if (cm.options.extraKeys) maps.push(cm.options.extraKeys); |
| 2963 | maps.push(cm.options.keyMap); |
| 2964 | return maps; |
| 2965 | } |
| 2966 | |
| 2967 | var maybeTransition; |
| 2968 | // Handle a key from the keydown event. |
no test coverage detected