itom
Loading...
Searching...
No Matches
ito::LineBackgroundMarkerMode Class Reference
Inheritance diagram for ito::LineBackgroundMarkerMode:
ito::Mode

Public Member Functions

 LineBackgroundMarkerMode (const QString &name, const QColor &bgcolor, const QString &description="", QObject *parent=NULL)
 
QColor background () const
 
void setBackground (const QColor &color)
 
bool numMarkedLines () const
 
void addMarker (int line)
 
void addMarker (int fromLine, int toLine)
 
void clearAllMarkers ()
 
virtual void onInstall (CodeEditor *editor)
 
virtual void onStateChanged (bool state)
 
- Public Member Functions inherited from ito::Mode
 Mode (const Mode &copy)
 
 Mode (const QString &name, const QString &description="")
 
bool operator== (const Mode &other) const
 
virtual void onUninstall ()
 
QString name () const
 
bool enabled () const
 
void setEnabled (bool enabled)
 
CodeEditoreditor () const
 
bool onClose () const
 
virtual QList< QAction * > actions () const
 

Protected Attributes

QColor m_color
 
QList< TextDecoration::Ptr > m_decorations
 

Additional Inherited Members

- Public Types inherited from ito::Mode
typedef QSharedPointer< ModePtr
 

Member Function Documentation

◆ onInstall()

void ito::LineBackgroundMarkerMode::onInstall ( CodeEditor * editor)
virtual

Reimplemented from ito::Mode.

◆ onStateChanged()

void ito::LineBackgroundMarkerMode::onStateChanged ( bool state)
virtual

Reimplemented from ito::Mode.


The documentation for this class was generated from the following files: