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

Method MultipleStyles

scintilla/src/PerLine.cxx:379–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379bool LineAnnotation::MultipleStyles(int line) const {
380 if (annotations.Length() && (line >= 0) && (line < annotations.Length()) && annotations[line])
381 return reinterpret_cast<AnnotationHeader *>(annotations[line])->style == IndividualStyles;
382 else
383 return 0;
384}
385
386int LineAnnotation::Style(int line) {
387 if (annotations.Length() && (line >= 0) && (line < annotations.Length()) && annotations[line])

Callers 2

MarginStyledTextMethod · 0.80
AnnotationStyledTextMethod · 0.80

Calls 1

LengthMethod · 0.45

Tested by

no test coverage detected