(cm)
| 9146 | // Utilities |
| 9147 | |
| 9148 | function setMark(cm) { |
| 9149 | cm.setCursor(cm.getCursor()); |
| 9150 | cm.setExtending(!cm.getExtending()); |
| 9151 | cm.on("change", function() { cm.setExtending(false); }); |
| 9152 | } |
| 9153 | |
| 9154 | function clearMark(cm) { |
| 9155 | cm.setExtending(false); |
nothing calls this directly
no test coverage detected