(cm)
| 1390 | } |
| 1391 | |
| 1392 | function focusInput(cm) { |
| 1393 | if (cm.options.readOnly != "nocursor" && (!mobile || document.activeElement != cm.display.input)) |
| 1394 | cm.display.input.focus(); |
| 1395 | } |
| 1396 | |
| 1397 | function isReadOnly(cm) { |
| 1398 | return cm.options.readOnly || cm.doc.cantEdit; |
no outgoing calls
no test coverage detected