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

Method AnnotationSetStyle

scintilla/src/Document.cxx:1815–1819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1813}
1814
1815void Document::AnnotationSetStyle(int line, int style) {
1816 static_cast<LineAnnotation *>(perLineData[ldAnnotation])->SetStyle(line, style);
1817 DocModification mh(SC_MOD_CHANGEANNOTATION, LineStart(line), 0, 0, 0, line);
1818 NotifyModified(mh);
1819}
1820
1821void Document::AnnotationSetStyles(int line, const unsigned char *styles) {
1822 if (line >= 0 && line < LinesTotal()) {

Callers 1

WndProcMethod · 0.80

Calls 2

LineStartFunction · 0.85
SetStyleMethod · 0.80

Tested by

no test coverage detected