22 #include <Qsci/qscilexercss.h> 41 void QgsCodeEditorCSS::setSciLexerCSS()
43 QsciLexerCSS* lexer =
new QsciLexerCSS(
this );
44 lexer->setDefaultFont(
QFont(
"Sans", 10 ) );
A text editor based on QScintilla2.
void setFoldingVisible(bool folding)
Set folding visible state.
QgsCodeEditorCSS(QWidget *parent=nullptr)
void setMarginVisible(bool margin)
Set margin visible state.
void setTitle(const QString &title)
Set the widget title.