()
| 1131 | }; |
| 1132 | |
| 1133 | var insert14GraphSliderHere = function () { |
| 1134 | var selection_start = cm.getCursor("from"); |
| 1135 | cm.replaceRange(" [0, 0.3333, 0.6666, 1] ", selection_start); // we pad with spaces, otherwise when we replace |
| 1136 | // this text we blow away our widget |
| 1137 | // as well |
| 1138 | var selection_end = cm.getCursor("to"); |
| 1139 | return insert14GraphSlider(selection_start, selection_end); |
| 1140 | }; |
| 1141 | |
| 1142 | var insert14GraphSliderAtSelection = function () { |
| 1143 | var selection_start = cm.getCursor("from"); |
no test coverage detected