16 #ifndef QGSCODEEDITORPYTHON_H
17 #define QGSCODEEDITORPYTHON_H
22 #include <Qsci/qscilexerpython.h>
28 class QgsQsciLexerPython :
public QsciLexerPython
33 QgsQsciLexerPython( QObject *parent =
nullptr );
35 const char *keywords(
int set )
const override;
67 void loadAPIs(
const QList<QString> &filenames );
73 bool loadScript(
const QString &script );
82 void searchSelectedTextInPyQGISDocs();
99 QList<QString> mAPISFilesList;
A Python editor based on QScintilla2.
A text editor based on QScintilla2.
virtual void initializeLexer()
Called when the dialect specific code lexer needs to be initialized (or reinitialized).
#define SIP_IF_MODULE(condition)