aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-21 16:13:28 +1000
committernyamatongwe <unknown>2013-04-21 16:13:28 +1000
commitabbece7c96a9cf85705e09b22239f37f727c5fba (patch)
tree9c8cb2db529f372c47f4bda3973bca30a66ee2dd /include/Scintilla.h
parentc377165a857db1c15270ecf673fdd3f323e9bebe (diff)
downloadscintilla-mirror-abbece7c96a9cf85705e09b22239f37f727c5fba.tar.gz
Implement commonly needed folding methods based on code from SciTE.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index b175fc80f..e94672ebd 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -441,6 +441,13 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETFOLDEXPANDED 2229
#define SCI_GETFOLDEXPANDED 2230
#define SCI_TOGGLEFOLD 2231
+#define SC_FOLDACTION_CONTRACT 0
+#define SC_FOLDACTION_EXPAND 1
+#define SC_FOLDACTION_TOGGLE 2
+#define SCI_FOLDLINE 2237
+#define SCI_FOLDCHILDREN 2238
+#define SCI_EXPANDCHILDREN 2239
+#define SCI_FOLDALL 2662
#define SCI_ENSUREVISIBLE 2232
#define SC_FOLDFLAG_LINEBEFORE_EXPANDED 0x0002
#define SC_FOLDFLAG_LINEBEFORE_CONTRACTED 0x0004