34 ColoredArea(QPen pen, QBrush background);
35 ColoredArea(qint64 posStart, qint64 posEnd, QPen pen, QBrush background);
39 void setFontColor(QColor color);
44 void setAreaColor(QColor color);
45 void setAreaStyle(QBrush background);
51 void setRange(qint64 posStart, qint64 posEnd);
69 void setPalette(
const QPalette &palette);
72 ColoredArea markedArea(qint64 pos, Area area, Chunks *chunks);
75 ColoredArea& notMarked(Area);
78 ColoredArea& selection();
81 ColoredArea& highlighting();
84 void addUserArea(qint64 posStart, qint64 posEnd, QColor fontColor, QBrush areaStyle);
87 void clearUserAreas();
90 ColoredArea _highlighting;
91 ColoredArea _selection;
96 QList<ColoredArea> _userAreas;