aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/simpleTests.py
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-05-14 14:29:20 +1000
committerNeil <nyamatongwe@gmail.com>2021-05-14 14:29:20 +1000
commit83986cc620b990964fd62816c8216c92ab9c7d51 (patch)
tree6d9ee1a236765d8fabcdea5d0df5c1069a61feea /test/simpleTests.py
parentd6136af6d39ae06b4b0b51bd4576338015722591 (diff)
downloadscintilla-mirror-83986cc620b990964fd62816c8216c92ab9c7d51.tar.gz
Implement SC_LAYER_UNDER_TEXT so that selections, caret lines, and content area
markers can be drawn translucently under text.
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r--test/simpleTests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py
index c28c31593..1a619a656 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -1995,8 +1995,8 @@ class TestElements(unittest.TestCase):
self.assertEquals(self.ed.CaretLineFrame, 0)
self.assertFalse(self.ed.CaretLineVisibleAlways)
- self.ed.CaretLineLayer = 10
- self.assertEquals(self.ed.CaretLineLayer, 10)
+ self.ed.CaretLineLayer = 2
+ self.assertEquals(self.ed.CaretLineLayer, 2)
self.ed.CaretLineFrame = 2
self.assertEquals(self.ed.CaretLineFrame, 2)
self.ed.CaretLineVisibleAlways = True
@@ -2028,7 +2028,7 @@ class TestElements(unittest.TestCase):
self.assertEquals(self.ed.CaretLineBackAlpha, alpha)
backColourTranslucent = backColour | (alpha << 24)
self.assertEquals(self.ElementColour(self.ed.SC_ELEMENT_CARET_LINE_BACK), backColourTranslucent)
- self.assertEquals(self.ed.CaretLineLayer, 10)
+ self.assertEquals(self.ed.CaretLineLayer, 2)
self.ed.CaretLineBackAlpha = 0x100
self.assertEquals(self.ed.CaretLineBackAlpha, 0x100)
@@ -2050,7 +2050,7 @@ class TestElements(unittest.TestCase):
def testMarkerLayer(self):
self.assertEquals(self.ed.MarkerGetLayer(1), 0)
self.ed.MarkerSetAlpha(1, 23)
- self.assertEquals(self.ed.MarkerGetLayer(1), 10)
+ self.assertEquals(self.ed.MarkerGetLayer(1), 2)
self.ed.MarkerSetAlpha(1, 0x100)
self.assertEquals(self.ed.MarkerGetLayer(1), 0)