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

Public Slots

void refresh ()
 

Public Member Functions

 CaretLineHighlighterMode (const QString &description="", QObject *parent=NULL)
 
QColor background () const
 
void setBackground (const QColor &color)
 
bool blocked () const
 
void setBlocked (bool blocked)
 
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 Member Functions

void clearDeco ()
 

Protected Attributes

QColor m_color
 
TextDecoration::Ptr m_decoration
 
bool m_blocked
 if true, the highlighter is temporarily disabled, even if it is enabled.
 

Additional Inherited Members

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

Member Function Documentation

◆ onInstall()

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

Reimplemented from ito::Mode.

◆ onStateChanged()

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

Reimplemented from ito::Mode.


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