diff options
author | Neil <nyamatongwe@gmail.com> | 2019-04-05 08:32:58 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-04-05 08:32:58 +1100 |
commit | 006b224af96d10452655ecced49ba3859c1d62ab (patch) | |
tree | 3fc3107e8819d4955eaf6ca325098d883d914c5f /test/simpleTests.py | |
parent | a5b810a701d3dd4b9b717d5ba036aef6d7f34445 (diff) | |
download | scintilla-mirror-006b224af96d10452655ecced49ba3859c1d62ab.tar.gz |
Feature [feature-requests:#1272]. Add API to set default fold display text.
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 b5260c8a8..9a170a2f9 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -1639,6 +1639,11 @@ class TestStyleAttributes(unittest.TestCase): self.ed.FoldDisplayTextSetStyle(self.ed.SC_FOLDDISPLAYTEXT_BOXED) self.assertEquals(self.ed.FoldDisplayTextGetStyle(), self.ed.SC_FOLDDISPLAYTEXT_BOXED) + def testDefaultFoldDisplayText(self): + self.assertEquals(self.ed.GetDefaultFoldDisplayText(), b"") + self.ed.SetDefaultFoldDisplayText(0, b"...") + self.assertEquals(self.ed.GetDefaultFoldDisplayText(), b"...") + class TestIndices(unittest.TestCase): def setUp(self): self.xite = Xite.xiteFrame |