| 122 | } |
| 123 | |
| 124 | void MockEditorInterface::indicator_fill_range(TextPosition from, |
| 125 | TextPosition to) { |
| 126 | auto doc = active_document(); |
| 127 | if (!doc) |
| 128 | return; |
| 129 | auto &s = doc->indicator_info[doc->current_indicator].set_for; |
| 130 | if (to >= static_cast<int>(s.size())) |
| 131 | s.resize(to + 1); |
| 132 | std::fill(s.begin() + from, s.begin() + to, true); |
| 133 | } |
| 134 | |
| 135 | void MockEditorInterface::indicator_clear_range(TextPosition from, |
| 136 | TextPosition to) { |
no test coverage detected