aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/simpleTests.py
diff options
context:
space:
mode:
authorZufu Liu <unknown>2019-03-31 07:37:35 +1100
committerZufu Liu <unknown>2019-03-31 07:37:35 +1100
commit3087d95c7c3ce5f185feecaf882c9fb21626fa83 (patch)
tree65cb267e3e09c7a08a9066b6038fb33065985f89 /test/simpleTests.py
parent75082c99fc0ad4e4f30b5fb7a7a438c8fe074857 (diff)
downloadscintilla-mirror-3087d95c7c3ce5f185feecaf882c9fb21626fa83.tar.gz
Backport: Feature [feature-requests:#1272]. Add FoldDisplayTextGetStyle to match
FoldDisplayTextSetStyle. Backport of changeset 7394:8fe3c581aeb9.
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 3af25247c..b5260c8a8 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -1634,6 +1634,11 @@ class TestStyleAttributes(unittest.TestCase):
self.ed.StyleSetHotSpot(self.ed.STYLE_DEFAULT, 1)
self.assertEquals(self.ed.StyleGetHotSpot(self.ed.STYLE_DEFAULT), 1)
+ def testFoldDisplayTextStyle(self):
+ self.assertEquals(self.ed.FoldDisplayTextGetStyle(), 0)
+ self.ed.FoldDisplayTextSetStyle(self.ed.SC_FOLDDISPLAYTEXT_BOXED)
+ self.assertEquals(self.ed.FoldDisplayTextGetStyle(), self.ed.SC_FOLDDISPLAYTEXT_BOXED)
+
class TestIndices(unittest.TestCase):
def setUp(self):
self.xite = Xite.xiteFrame