From 91a0a5c9be59308be001bbc89c0aead0f3602494 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 14 May 2021 13:33:11 +1000 Subject: Add SCI_MARKERSETLAYER to define layer on which to draw content area markers. This replaces the use of SC_ALPHA_NOALPHA for markers. --- test/simpleTests.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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 -- cgit v1.2.3