editor: Deactivate selections while undoing
This commit is contained in:
parent
80c05a1dfd
commit
239b2b9aaf
1 changed files with 1 additions and 0 deletions
|
|
@ -745,6 +745,7 @@ class Editor:
|
||||||
self.history_position -= 1
|
self.history_position -= 1
|
||||||
self.history_position -= 1
|
self.history_position -= 1
|
||||||
self.text_widget[:], self._cursor_x, self._cursor_y = self.history[self.history_position]
|
self.text_widget[:], self._cursor_x, self._cursor_y = self.history[self.history_position]
|
||||||
|
self.mark = None
|
||||||
|
|
||||||
def toggle_overwrite(self):
|
def toggle_overwrite(self):
|
||||||
self.is_overwriting = not self.is_overwriting
|
self.is_overwriting = not self.is_overwriting
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue