diff options
author | Neil <nyamatongwe@gmail.com> | 2019-11-15 08:19:12 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-11-15 08:19:12 +1100 |
commit | 2ceaae0b1f19981706806cd71a1dff695b72cc1a (patch) | |
tree | ed11c4b4f901369c89fbec4cb5a91f16ad6c5e56 /test/simpleTests.py | |
parent | a085cc290740259d076f1e19c4b2d1002853f2b7 (diff) | |
download | scintilla-mirror-2ceaae0b1f19981706806cd71a1dff695b72cc1a.tar.gz |
Feature [feature-requests:#1316] Add access to virtual space at start and end of
multiple selections.
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r-- | test/simpleTests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py index 6e7d10721..a4730980f 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -1407,10 +1407,14 @@ class TestMultiSelection(unittest.TestCase): self.assertEquals(self.ed.GetSelectionNCaretVirtualSpace(0), 3) self.ed.SetSelectionNAnchorVirtualSpace(0, 2) self.assertEquals(self.ed.GetSelectionNAnchorVirtualSpace(0), 2) + self.assertEquals(self.ed.GetSelectionNStartVirtualSpace(0), 3) + self.assertEquals(self.ed.GetSelectionNEndVirtualSpace(0), 2) # Does not check that virtual space is valid by being at end of line self.ed.SetSelection(1, 1) self.ed.SetSelectionNCaretVirtualSpace(0, 3) self.assertEquals(self.ed.GetSelectionNCaretVirtualSpace(0), 3) + self.assertEquals(self.ed.GetSelectionNStartVirtualSpace(0), 0) + self.assertEquals(self.ed.GetSelectionNEndVirtualSpace(0), 3) def testRectangularVirtualSpace(self): self.ed.VirtualSpaceOptions=1 |