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

Method MergeMarkers

scintilla/src/PerLine.cxx:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void LineMarkers::MergeMarkers(int pos) {
160 if (markers[pos + 1] != NULL) {
161 if (markers[pos] == NULL)
162 markers[pos] = new MarkerHandleSet;
163 markers[pos]->CombineWith(markers[pos + 1]);
164 delete markers[pos + 1];
165 markers[pos + 1] = NULL;
166 }
167}
168
169int LineMarkers::MarkValue(int line) {
170 if (markers.Length() && (line >= 0) && (line < markers.Length()) && markers[line])

Callers

nothing calls this directly

Calls 1

CombineWithMethod · 0.80

Tested by

no test coverage detected