aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
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 /include
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 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface5
2 files changed, 5 insertions, 1 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 31115ad0c..1845b677a 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -492,6 +492,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SC_FOLDDISPLAYTEXT_STANDARD 1
#define SC_FOLDDISPLAYTEXT_BOXED 2
#define SCI_FOLDDISPLAYTEXTSETSTYLE 2701
+#define SCI_FOLDDISPLAYTEXTGETSTYLE 2707
#define SC_FOLDACTION_CONTRACT 0
#define SC_FOLDACTION_EXPAND 1
#define SC_FOLDACTION_TOGGLE 2
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index a3820445a..c2dec218d 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1233,9 +1233,12 @@ val SC_FOLDDISPLAYTEXT_HIDDEN=0
val SC_FOLDDISPLAYTEXT_STANDARD=1
val SC_FOLDDISPLAYTEXT_BOXED=2
-# Set the style of fold display text
+# Set the style of fold display text.
set void FoldDisplayTextSetStyle=2701(int style,)
+# Get the style of fold display text.
+get int FoldDisplayTextGetStyle=2707(,)
+
enu FoldAction=SC_FOLDACTION_
val SC_FOLDACTION_CONTRACT=0
val SC_FOLDACTION_EXPAND=1