(e)
| 3057 | } |
| 3058 | |
| 3059 | function onKeyPress(e) { |
| 3060 | var cm = this; |
| 3061 | if (signalDOMEvent(cm, e)) return; |
| 3062 | var keyCode = e.keyCode, charCode = e.charCode; |
| 3063 | if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;} |
| 3064 | if (((presto && (!e.which || e.which < 10)) || khtml) && handleKeyBinding(cm, e)) return; |
| 3065 | var ch = String.fromCharCode(charCode == null ? keyCode : charCode); |
| 3066 | if (handleCharBinding(cm, e, ch)) return; |
| 3067 | if (ie && !ie_upto8) cm.display.inputHasSelection = null; |
| 3068 | fastPoll(cm); |
| 3069 | } |
| 3070 | |
| 3071 | // FOCUS/BLUR EVENTS |
| 3072 |
nothing calls this directly
no test coverage detected