aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/simpleTests.py
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-07-31 08:49:25 +1000
committerNeil <nyamatongwe@gmail.com>2021-07-31 08:49:25 +1000
commit4d1a31d6a74019c3d43de1c33e2be093ed6dfd11 (patch)
treed2b113b25d2cfcb751f4b5a961bb14a04261175f /test/simpleTests.py
parent297d17ace8501b23a32390163676c838dad71f9a (diff)
downloadscintilla-mirror-4d1a31d6a74019c3d43de1c33e2be093ed6dfd11.tar.gz
Implement StyleSetCheckMonospaced.
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r--test/simpleTests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py
index dca1e24c4..e8b9e69c4 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -1985,6 +1985,11 @@ class TestStyleAttributes(unittest.TestCase):
self.ed.FontLocale = testLocale
self.assertEquals(self.ed.GetFontLocale(), testLocale)
+ def testCheckMonospaced(self):
+ self.assertEquals(self.ed.StyleGetCheckMonospaced(self.ed.STYLE_DEFAULT), 0)
+ self.ed.StyleSetCheckMonospaced(self.ed.STYLE_DEFAULT, 1)
+ self.assertEquals(self.ed.StyleGetCheckMonospaced(self.ed.STYLE_DEFAULT), 1)
+
class TestElements(unittest.TestCase):
""" These tests are just to ensure that the calls set and retrieve values.
They do not check the visual appearance of the style attributes.