aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-04-21 16:13:28 +1000
committernyamatongwe <devnull@localhost>2013-04-21 16:13:28 +1000
commit341e163afa67923ca42e083d176c726ea5ed5d3e (patch)
treecd5b0bc6f9bfd31848397972e4644a6ceb0b05ae /include/Scintilla.h
parentb4c56acc3db4184664ce16ea80cbe6ea8d806bf4 (diff)
downloadscintilla-mirror-341e163afa67923ca42e083d176c726ea5ed5d3e.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