38 #ifndef LINEBACKGROUNDMARKER_H
39 #define LINEBACKGROUNDMARKER_H
45 #include "../textDecoration.h"
59 LineBackgroundMarkerMode(
const QString &name,
const QColor &bgcolor,
const QString &description =
"", QObject *parent = NULL);
62 QColor background()
const;
63 void setBackground(
const QColor &color);
65 bool numMarkedLines()
const {
return m_decorations.size(); }
67 void addMarker(
int line);
68 void addMarker(
int fromLine,
int toLine);
69 void clearAllMarkers();
72 virtual void onStateChanged(
bool state);
78 QList<TextDecoration::Ptr> m_decorations;
Definition: lineBackgroundMarker.h:55
Definition: codeEditor.h:110
Definition: apiFunctionsGraph.cpp:39