Kate
kateautoindent.h
Go to the documentation of this file.
static QString modeDescription(int mode)
Return the mode description.
Definition: kateautoindent.cpp:83
void updateConfig()
Update indenter's configuration (indention width, etc.) Is called in the updateConfig() of the docume...
Definition: kateautoindent.cpp:370
void setMode(const QString &name)
Switch indenter Nop if already set to given mode Otherwise switch to given indenter or to "None" if n...
Definition: kateautoindent.cpp:304
const char * name(StandardAction id)
void indent(KateView *view, const KTextEditor::Range &range)
The document requests the indenter to indent the given range of existing text.
Definition: kateautoindent.cpp:415
static QString modeRequiredStyle(int mode)
Return the syntax highlighting style required to use this mode.
Definition: kateautoindent.cpp:94
KateViewIndentationAction(KateDocument *_doc, const QString &text, QObject *parent)
Definition: kateautoindent.cpp:464
A specialized class for scripts that are of type KateScriptInformation::IndentationScript.
Definition: kateindentscript.h:94
Definition: kateview.h:78
Definition: katedocument.h:74
void userTypedChar(KateView *view, const KTextEditor::Cursor &position, QChar typedChar)
The user typed some char, the indenter can react on this ' ' will be send as char if the user wraps a...
Definition: kateautoindent.cpp:436
This action provides a list of available indenters and gets plugged into the KateView's KActionCollec...
Definition: kateautoindent.h:235
bool changeIndent(const KTextEditor::Range &range, int change)
Function to provide the common indent/unindent/clean indent functionality to the document This should...
Definition: kateautoindent.cpp:381
Definition: katehighlight.h:119
KateAutoIndent(KateDocument *doc)
Constructor, creates dummy indenter "None".
Definition: kateautoindent.cpp:111
static QStringList listModes()
List all possible modes by name, i.e.
Definition: kateautoindent.cpp:45
void checkRequiredStyle()
Check if the current highlighting mode provides the style required by the current indenter...
Definition: kateautoindent.cpp:355
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.