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

Method AnnotationStyledText

scintilla/src/Document.cxx:1798–1802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1796}
1797
1798StyledText Document::AnnotationStyledText(int line) {
1799 LineAnnotation *pla = static_cast<LineAnnotation *>(perLineData[ldAnnotation]);
1800 return StyledText(pla->Length(line), pla->Text(line),
1801 pla->MultipleStyles(line), pla->Style(line), pla->Styles(line));
1802}
1803
1804void Document::AnnotationSetText(int line, const char *text) {
1805 if (line >= 0 && line < LinesTotal()) {

Callers 2

DrawAnnotationMethod · 0.80
WndProcMethod · 0.80

Calls 6

StyledTextClass · 0.85
TextMethod · 0.80
MultipleStylesMethod · 0.80
StylesMethod · 0.80
LengthMethod · 0.45
StyleMethod · 0.45

Tested by

no test coverage detected