aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/simpleTests.py
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-05-14 13:33:11 +1000
committerNeil <nyamatongwe@gmail.com>2021-05-14 13:33:11 +1000
commit91a0a5c9be59308be001bbc89c0aead0f3602494 (patch)
tree43c70147bfce95a4b3fc8d5397faed70cafcffee /test/simpleTests.py
parent2feaeaf738851055a79ffcfb9027a3637610faca (diff)
downloadscintilla-mirror-91a0a5c9be59308be001bbc89c0aead0f3602494.tar.gz
Add SCI_MARKERSETLAYER to define layer on which to draw content area markers.
This replaces the use of SC_ALPHA_NOALPHA for markers.
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r--test/simpleTests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py
index 9ac1c43fd..470b56509 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -2047,6 +2047,13 @@ class TestElements(unittest.TestCase):
self.RestoreCaretLine()
+ def testMarkerLayer(self):
+ self.assertEquals(self.ed.MarkerGetLayer(1), 0)
+ self.ed.MarkerSetAlpha(1, 23)
+ self.assertEquals(self.ed.MarkerGetLayer(1), 10)
+ self.ed.MarkerSetAlpha(1, 0x100)
+ self.assertEquals(self.ed.MarkerGetLayer(1), 0)
+
class TestIndices(unittest.TestCase):
def setUp(self):
self.xite = Xite.xiteFrame