aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-09-24 13:14:40 +1000
committernyamatongwe <unknown>2010-09-24 13:14:40 +1000
commit7fb06ca08a70dd9f9549b1e34c7dd38e9ca1413a (patch)
treef16cf3c34093167f55e567d7a02edeef19675d19 /include
parent228fcb30c6b21ef2756a07a3eaf34f6371e80a39 (diff)
downloadscintilla-mirror-7fb06ca08a70dd9f9549b1e34c7dd38e9ca1413a.tar.gz
Added SCI_CONTRACTEDFOLDNEXT as a way to find contracted fold headers efficiently.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface7
2 files changed, 7 insertions, 1 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index c20a063f9..54f104437 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -786,6 +786,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_ROTATESELECTION 2606
#define SCI_SWAPMAINANCHORCARET 2607
#define SCI_CHANGELEXERSTATE 2617
+#define SCI_CONTRACTEDFOLDNEXT 2618
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
#define SCI_SETLEXER 4001
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 2516b7134..679bce53b 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -304,7 +304,8 @@ fun void MarkerDeleteAll=2045(int markerNumber,)
# Get a bit mask of all the markers set on a line.
fun int MarkerGet=2046(int line,)
-# Find the next line after lineStart that includes a marker in mask.
+# Find the next line at or after lineStart that includes a marker in mask.
+# Return -1 when no more lines.
fun int MarkerNext=2047(int lineStart, int markerMask)
# Find the previous line before lineStart that includes a marker in mask.
@@ -2090,6 +2091,10 @@ fun void SwapMainAnchorCaret=2607(,)
# there may be a need to redraw.
fun int ChangeLexerState=2617(position start, position end)
+# Find the next line at or after lineStart that is a contracted fold header line.
+# Return -1 when no more lines.
+fun int ContractedFoldNext=2618(int lineStart,)
+
# Start notifying the container of all key presses and commands.
fun void StartRecord=3001(,)