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
bool hasUncaughtException() const
QScriptValue call(const QScriptValue &thisObject, const QScriptValueList &args)
QString toString() const
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:77
bool isNull() const
const QString & triggerCharacters()
Definition: kateindentscript.cpp:40
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
bool isValid() const
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-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.