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

Method AddMark

scintilla/src/Document.cxx:221–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221int Document::AddMark(int line, int markerNum) {
222 if (line >= 0 && line <= LinesTotal()) {
223 int prev = static_cast<LineMarkers *>(perLineData[ldMarkers])->
224 AddMark(line, markerNum, LinesTotal());
225 DocModification mh(SC_MOD_CHANGEMARKER, LineStart(line), 0, 0, 0, line);
226 NotifyModified(mh);
227 return prev;
228 } else {
229 return 0;
230 }
231}
232
233void Document::AddMarkSet(int line, int valueSet) {
234 if (line < 0 || line > LinesTotal()) {

Callers 1

AddMarkSetMethod · 0.45

Calls 1

LineStartFunction · 0.85

Tested by

no test coverage detected