(cm, e, ch)
| 3004 | |
| 3005 | // Handle a key from the keypress event |
| 3006 | function handleCharBinding(cm, e, ch) { |
| 3007 | var handled = lookupKey("'" + ch + "'", allKeyMaps(cm), |
| 3008 | function(b) { return doHandleBinding(cm, b, true); }); |
| 3009 | if (handled) { |
| 3010 | e_preventDefault(e); |
| 3011 | restartBlink(cm); |
| 3012 | signalLater(cm, "keyHandled", cm, "'" + ch + "'", e); |
| 3013 | } |
| 3014 | return handled; |
| 3015 | } |
| 3016 | |
| 3017 | var lastStoppedKey = null; |
| 3018 | function onKeyDown(e) { |
no test coverage detected