Remove selection when the text changes
This commit is contained in:
parent
0d5905113e
commit
fb8b796172
2 changed files with 25 additions and 6 deletions
|
|
@ -142,7 +142,7 @@ class EditorTestCase(unittest.TestCase):
|
|||
self.editor.set_mark()
|
||||
self.editor.cursor_down()
|
||||
self._assert_change(self.editor.indent, " a\nb\nc", (0, 1))
|
||||
self.assertIsNotNone(self.editor.mark)
|
||||
self.assertIsNone(self.editor.mark)
|
||||
self._set_editor("a\nb\nc", (1, 0))
|
||||
self.editor.set_mark()
|
||||
self.editor.cursor_left()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue