()
| 1303 | }; |
| 1304 | |
| 1305 | var insertBoolHere = function () { |
| 1306 | var selection_start = cm.getCursor("from"); |
| 1307 | cm.replaceRange(" 1 ", selection_start); // we pad with spaces, otherwise when we replace |
| 1308 | // this text we blow away our widget |
| 1309 | // as well |
| 1310 | var selection_end = cm.getCursor("to"); |
| 1311 | return insertBool(selection_start, selection_end); |
| 1312 | }; |
| 1313 | |
| 1314 | var insertBoolAtSelection = function () { |
| 1315 | var selection_start = cm.getCursor("from"); |
no test coverage detected