From db60a2ad9b3f20522e0292fdeccb7e40116bd8dc Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sun, 31 Mar 2019 07:37:35 +1100 Subject: Feature [feature-requests:#1272]. Add FoldDisplayTextGetStyle to match FoldDisplayTextSetStyle. --- include/Scintilla.h | 1 + include/Scintilla.iface | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index c8ef2fa37..6187bc612 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 cf2d01abc..2b69adef3 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 -- cgit v1.2.3