23 #include <Qsci/qscilexersql.h> 35 setAutoCompletionCaseSensitivity(
false );
60 void QgsCodeEditorSQL::setSciLexerSQL()
68 sqlLexer->setDefaultFont( font );
69 sqlLexer->setFont( font, -1 );
71 sqlLexer->setFont( font, QsciLexerSQL::Keyword );
72 sqlLexer->setColor( Qt::darkYellow, QsciLexerSQL::DoubleQuotedString );
void setPointSize(int pointSize)
A text editor based on QScintilla2.
bool caseSensitive() const override
void setFoldingVisible(bool folding)
Set folding visible state.
void setBold(bool enable)
QgsCodeEditorSQL(QWidget *parent=nullptr)
void setMarginVisible(bool margin)
Set margin visible state.
QgsCaseInsensitiveLexerSQL(QObject *parent=0)
constructor
void setTitle(const QString &title)
Set the widget title.