diff options
| author | mitchell <unknown> | 2019-04-16 22:50:17 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2019-04-16 22:50:17 -0400 |
| commit | 86266d4700632860705fc2d4e88d4be4f5228be1 (patch) | |
| tree | f330e0f843dcef19d0c69506fa1df4637ccd820e /test | |
| parent | 4c22cdbe64a4024053c202521b69524c655a2c5d (diff) | |
| download | scintilla-mirror-86266d4700632860705fc2d4e88d4be4f5228be1.tar.gz | |
Backport: Feature [feature-requests:#1259]. Add SCI_SETCHARACTERCATEGORYOPTIMIZATION API to optimize speed of character category features.
Backport of changeset 7392:2832adedd0f4, but with added includes for Sci::clamp().
Diffstat (limited to 'test')
| -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): |
