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

Method DrawIndicator

scintilla/src/Editor.cxx:2770–2780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2768}
2769
2770void Editor::DrawIndicator ( int indicNum, int startPos, int endPos, Surface *surface, ViewStyle &vsDraw,
2771 int xStart, PRectangle rcLine, LineLayout *ll, int subLine )
2772{
2773 const XYPOSITION subLineStart = ll->positions[ll->LineStart ( subLine )];
2774 PRectangle rcIndic (
2775 ll->positions[startPos] + xStart - subLineStart,
2776 rcLine.top + vsDraw.maxAscent,
2777 ll->positions[endPos] + xStart - subLineStart,
2778 rcLine.top + vsDraw.maxAscent + 3 );
2779 vsDraw.indicators[indicNum].Draw ( surface, rcIndic, rcLine );
2780}
2781
2782void Editor::DrawIndicators ( Surface *surface, ViewStyle &vsDraw, int line, int xStart,
2783 PRectangle rcLine, LineLayout *ll, int subLine, int lineEnd, bool under )

Callers

nothing calls this directly

Calls 2

LineStartMethod · 0.45
DrawMethod · 0.45

Tested by

no test coverage detected