KateXmlIndent Class Reference
Inheritance diagram for KateXmlIndent:

Public Member Functions | |
KateXmlIndent (KateDocument *doc) | |
~KateXmlIndent () | |
virtual uint | modeNumber () const |
virtual void | processNewline (KateDocCursor &begin, bool needContinue) |
virtual void | processChar (QChar c) |
virtual void | processLine (KateDocCursor &line) |
virtual bool | canProcessLine () const |
virtual void | processSection (KateDocCursor &begin, KateDocCursor &end) |
Detailed Description
Definition at line 330 of file kateautoindent.h.
Member Function Documentation
|
Mode index of this mode.
Reimplemented from KateNormalIndent. Definition at line 336 of file kateautoindent.h. |
|
Called every time a newline character is inserted in the document.
Reimplemented from KateNormalIndent. Definition at line 1155 of file kateautoindent.cpp. References KateTextCursor::line(), processLine(), and KateTextCursor::setCol(). |
|
Called every time a character is inserted into the document.
Reimplemented from KateNormalIndent. Definition at line 1160 of file kateautoindent.cpp. References KateDocument::activeView(), KateView::cursorLine(), KateAutoIndent::doc, QString::find(), KateDocument::plainKateTextLine(), and processLine(). |
|
Aligns/indents the given line to the proper indent position.
Reimplemented from KateNormalIndent. Definition at line 1173 of file kateautoindent.cpp. References KateTextCursor::line(). Referenced by processChar(), processNewline(), and processSection(). |
|
Set to true if an actual implementation of 'processLine' is present. This is used to prevent a needless Undo action from being created. Reimplemented from KateNormalIndent. Definition at line 340 of file kateautoindent.h. |
|
Processes a section of text, indenting each line in between.
Reimplemented from KateNormalIndent. Definition at line 1178 of file kateautoindent.cpp. References KateDocCursor::gotoNextLine(), KateTextCursor::line(), and processLine(). |
The documentation for this class was generated from the following files: