diff options
author | Neil <nyamatongwe@gmail.com> | 2019-03-29 09:05:14 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-03-29 09:05:14 +1100 |
commit | 6d1bf18357b56cbec7d289c9c9434a7a8888b386 (patch) | |
tree | e03227ff253d79d62c42b331c2b66d32b81dc9c0 /test/simpleTests.py | |
parent | 62b31d42a2ee02b4992134d325fab6f297729094 (diff) | |
download | scintilla-mirror-6d1bf18357b56cbec7d289c9c9434a7a8888b386.tar.gz |
Feature [feature-requests:#1259]. Add SCI_SETCHARACTERCATEGORYOPTIMIZATION API
to optimize speed of character category features.
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r-- | test/simpleTests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py index d51908baf..3af25247c 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -2282,6 +2282,11 @@ class TestWordChars(unittest.TestCase): data = self.ed.GetPunctuationChars(None) self.assertCharSetsEqual(data, expected) + def testCharacterCategoryOptimization(self): + self.assertEquals(self.ed.CharacterCategoryOptimization, 0x100) + self.ed.CharacterCategoryOptimization = 0x1000 + self.assertEquals(self.ed.CharacterCategoryOptimization, 0x1000) + class TestExplicitTabStops(unittest.TestCase): def setUp(self): |