diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-09-05 16:37:34 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-09-05 16:37:34 +1000 |
| commit | 80781c95bbdaa770cce026c6e0461c803ead84bb (patch) | |
| tree | 0209a2b3a5bf2f1116c89f4b62c7ce659606b09d /test | |
| parent | eee3ce336ae78e9bf3d75f2c84aba97a7c623ea4 (diff) | |
| download | scintilla-mirror-80781c95bbdaa770cce026c6e0461c803ead84bb.tar.gz | |
Added SCI_GETPRIMARYSTYLEFROMSTYLE.
Diffstat (limited to 'test')
| -rw-r--r-- | test/simpleTests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py index 496488157..e814f45ca 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -1675,6 +1675,10 @@ class TestSubStyles(unittest.TestCase): self.assertEquals(self.ed.GetStyleFromSubStyle(subs+inactiveDistance), self.ed.SCE_C_IDENTIFIER+inactiveDistance) self.ed.FreeSubStyles() + def testSecondary(self): + inactiveDistance = self.ed.DistanceToSecondaryStyles() + self.assertEquals(self.ed.GetPrimaryStyleFromStyle(self.ed.SCE_C_IDENTIFIER+inactiveDistance), self.ed.SCE_C_IDENTIFIER) + class TestAutoComplete(unittest.TestCase): def setUp(self): |
