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

Method MarginSetText

scintilla/src/Document.cxx:1774–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1772}
1773
1774void Document::MarginSetText(int line, const char *text) {
1775 static_cast<LineAnnotation *>(perLineData[ldMargin])->SetText(line, text);
1776 DocModification mh(SC_MOD_CHANGEMARGIN, LineStart(line), 0, 0, 0, line);
1777 NotifyModified(mh);
1778}
1779
1780void Document::MarginSetStyle(int line, int style) {
1781 static_cast<LineAnnotation *>(perLineData[ldMargin])->SetStyle(line, style);

Callers 1

WndProcMethod · 0.80

Calls 2

LineStartFunction · 0.85
SetTextMethod · 0.80

Tested by

no test coverage detected