mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-22 05:30:06 -05:00
11 lines
251 B
C++
11 lines
251 B
C++
|
#include "FractoriumPch.h"
|
||
|
#include "QssTextEdit.h"
|
||
|
|
||
|
QssTextEdit::QssTextEdit(QWidget* parent) :
|
||
|
QTextEdit(parent)
|
||
|
{
|
||
|
setTabStopWidth(fontMetrics().width(QLatin1Char(' '))*4);
|
||
|
setAcceptRichText(false);
|
||
|
new CssHighlighter(document());
|
||
|
}
|