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