MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / MarkerNext

Method MarkerNext

scintilla/src/PerLine.cxx:176–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176int LineMarkers::MarkerNext(int lineStart, int mask) const {
177 if (lineStart < 0)
178 lineStart = 0;
179 int length = markers.Length();
180 for (int iLine = lineStart; iLine < length; iLine++) {
181 MarkerHandleSet *onLine = markers[iLine];
182 if (onLine && ((onLine->MarkValue() & mask) != 0))
183 //if ((pdoc->GetMark(iLine) & lParam) != 0)
184 return iLine;
185 }
186 return -1;
187}
188
189int LineMarkers::AddMark(int line, int markerNum, int lines) {
190 handleCurrent++;

Callers 1

WndProcMethod · 0.45

Calls 2

MarkValueMethod · 0.80
LengthMethod · 0.45

Tested by

no test coverage detected