MCPcopy Create free account
hub / github.com/cxasm/notepad-- / AnnotationSetStyle

Method AnnotationSetStyle

src/qscint/scintilla/src/Document.cpp:2388–2393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2386}
2387
2388void Document::AnnotationSetStyle(Sci::Line line, int style) {
2389 Annotations()->SetStyle(line, style);
2390 const DocModification mh(SC_MOD_CHANGEANNOTATION, LineStart(line),
2391 0, 0, 0, line);
2392 NotifyModified(mh);
2393}
2394
2395void Document::AnnotationSetStyles(Sci::Line line, const unsigned char *styles) {
2396 if (line >= 0 && line < LinesTotal()) {

Callers 1

WndProcMethod · 0.80

Calls 2

LineStartFunction · 0.85
SetStyleMethod · 0.45

Tested by

no test coverage detected