| 2768 | } |
| 2769 | |
| 2770 | void 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 | |
| 2782 | void Editor::DrawIndicators ( Surface *surface, ViewStyle &vsDraw, int line, int xStart, |
| 2783 | PRectangle rcLine, LineLayout *ll, int subLine, int lineEnd, bool under ) |