(cm)
| 1091 | // INPUT HANDLING |
| 1092 | |
| 1093 | function ensureFocus(cm) { |
| 1094 | if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); } |
| 1095 | } |
| 1096 | |
| 1097 | // This will be set to an array of strings when copying, so that, |
| 1098 | // when pasting, we know what kind of selections the copied text |
no test coverage detected