itom  4.1.0
ito::IndenterMode Class Reference
Inheritance diagram for ito::IndenterMode:
ito::Mode

Public Member Functions

 IndenterMode (const QString &description="", QObject *parent=NULL)
 
virtual void onStateChanged (bool state)
 
void indentSelection (QTextCursor cursor) const
 
QTextCursor unindentSelection (QTextCursor cursor) const
 
int countDeletableSpaces (const QTextCursor &cursor, int maxSpaces) const
 
- 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 onInstall (CodeEditor *editor)
 
virtual void onUninstall ()
 
QString name () const
 
bool enabled () const
 
void setEnabled (bool enabled)
 
CodeEditoreditor () const
 
bool onClose () const
 
virtual QList< QAction * > actions () const
 

Private Slots

void indent () const
 
void unindent () const
 

Additional Inherited Members

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

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