From c9394092df9b424b262e06139d2e4abdac8f78a3 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 10 Jun 2021 09:21:12 +1000 Subject: Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting text provided as an argument instead of from the system clipboard. --- test/simpleTests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/simpleTests.py') 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): -- cgit v1.2.3