Kate
kateindentscript.cpp
Go to the documentation of this file.
71 arguments << QScriptValue(m_engine, typedCharacter.isNull() ? QString("") : QString(typedCharacter));
KateScript objects represent a script that can be executed and inspected.
Definition: katescript.h:106
QScriptValue global(const QString &name)
Get a QScriptValue for a global item in the script given its name, or an invalid QScriptValue if no s...
Definition: katescript.cpp:135
QPair< int, int > indent(KateView *view, const KTextEditor::Cursor &position, QChar typedCharacter, int indentWidth)
Returns a pair where the first value is the indent amount, and the second value is the alignment...
Definition: kateindentscript.cpp:55
void clearExceptions()
Clears any uncaught exceptions in the script engine.
Definition: katescript.cpp:128
Definition: kateview.h:78
const QString & triggerCharacters()
Definition: kateindentscript.cpp:40
virtual int line() const
bool setView(KateView *view)
set view for this script for the execution will trigger load!
Definition: katescript.cpp:219
void displayBacktrace(const QScriptValue &error, const QString &header=QString())
Displays the backtrace when a script has errored out.
Definition: katescript.cpp:119
KateIndentScript(const QString &url, const KateIndentScriptHeader &header)
Definition: kateindentscript.cpp:28
Definition: kateindentscript.h:30
const KateIndentScriptHeader & indentHeader() const
Definition: kateindentscript.cpp:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 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:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.