diff options
author | Neil <nyamatongwe@gmail.com> | 2021-06-10 09:21:12 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-06-10 09:21:12 +1000 |
commit | c9394092df9b424b262e06139d2e4abdac8f78a3 (patch) | |
tree | df61f9d4f10b55ef121724a1918d6ba0638b2fa5 /test/simpleTests.py | |
parent | b5e8caaacbd47583c79bf862e5e6a021bcfc3964 (diff) | |
download | scintilla-mirror-c9394092df9b424b262e06139d2e4abdac8f78a3.tar.gz |
Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting text
provided as an argument instead of from the system clipboard.
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r-- | test/simpleTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py index 82ed84810..2d8b25e68 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -535,10 +535,10 @@ class TestSimple(unittest.TestCase): self.ed.Clear() self.assertEquals(self.ed.Contents(), b"1c") - def testPasteRectangular(self): + def testReplaceRectangular(self): self.ed.AddText(5, b"a\nb\nc") self.ed.SetSel(0,0) - self.ed.PasteRectangular(3, b"1\n2") + self.ed.ReplaceRectangular(3, b"1\n2") self.assertEquals(self.ed.Contents(), b"1a\n2b\nc") def testCopyAllowLine(self): |