(&self)
| 371 | } |
| 372 | |
| 373 | fn cursor_char_idx(&self) -> usize { |
| 374 | self.document |
| 375 | .position_to_char(self.cursor.line, self.cursor.column) |
| 376 | } |
| 377 | |
| 378 | fn push_undo(&mut self, record: UndoRecord) { |
| 379 | if record.inserted.is_empty() && record.deleted.is_empty() { |
no test coverage detected