Commit 1f45eb2c authored by David Schulz's avatar David Schulz Committed by Christian Stenger

Editor: Set tabsettings on new generic highlighter.

Task-number: QTCREATORBUG-12172
Change-Id: I5194da0f6c8c1c453906c9752fc2fdf0e8b0b1be
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 1c793cf6
......@@ -133,6 +133,7 @@ void PlainTextEditorWidget::configure(const QString &mimeType)
void PlainTextEditorWidget::configure(const MimeType &mimeType)
{
Highlighter *highlighter = new Highlighter();
highlighter->setTabSettings(baseTextDocument()->tabSettings());
baseTextDocument()->setSyntaxHighlighter(highlighter);
setCodeFoldingSupported(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment