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

Method Text

scintilla/src/PerLine.cxx:393–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393const char *LineAnnotation::Text(int line) const {
394 if (annotations.Length() && (line >= 0) && (line < annotations.Length()) && annotations[line])
395 return annotations[line]+sizeof(AnnotationHeader);
396 else
397 return 0;
398}
399
400const unsigned char *LineAnnotation::Styles(int line) const {
401 if (annotations.Length() && (line >= 0) && (line < annotations.Length()) && annotations[line] && MultipleStyles(line))

Callers 2

MarginStyledTextMethod · 0.80
AnnotationStyledTextMethod · 0.80

Calls 1

LengthMethod · 0.45

Tested by

no test coverage detected