diff options
Diffstat (limited to 'scintilla/src/PerLine.cxx')
-rw-r--r-- | scintilla/src/PerLine.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scintilla/src/PerLine.cxx b/scintilla/src/PerLine.cxx index c7e5c99..795f628 100644 --- a/scintilla/src/PerLine.cxx +++ b/scintilla/src/PerLine.cxx @@ -182,6 +182,17 @@ int LineMarkers::MarkValue(int line) { return 0;
}
+int LineMarkers::MarkerNext(int lineStart, int mask) const {
+ int length = markers.Length();
+ for (int iLine = lineStart; iLine < length; iLine++) {
+ MarkerHandleSet *onLine = markers[iLine];
+ if (onLine && ((onLine->MarkValue() & mask) != 0))
+ //if ((pdoc->GetMark(iLine) & lParam) != 0)
+ return iLine;
+ }
+ return -1;
+}
+
int LineMarkers::AddMark(int line, int markerNum, int lines) {
handleCurrent++;
if (!markers.Length()) {
|