diff options
author | David Schulz <david.schulz@digia.com> | 2014-05-19 08:37:19 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@digia.com> | 2014-05-19 09:58:11 +0200 |
commit | 1f45eb2c210b033a30976ec9ddec5b4e8339ade4 (patch) | |
tree | a0e96b90e56a7f5cff7e2e2ff250cc1bfb447adc /src/plugins/texteditor/plaintexteditor.cpp | |
parent | 1c793cf6a591e1068418ddbe71fda2cf43f8913b (diff) | |
download | qt-creator-1f45eb2c210b033a30976ec9ddec5b4e8339ade4.tar.gz |
Editor: Set tabsettings on new generic highlighter.
Task-number: QTCREATORBUG-12172
Change-Id: I5194da0f6c8c1c453906c9752fc2fdf0e8b0b1be
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditor.cpp')
-rw-r--r-- | src/plugins/texteditor/plaintexteditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/plaintexteditor.cpp b/src/plugins/texteditor/plaintexteditor.cpp index 6b2ef7097b..afea6e7a2c 100644 --- a/src/plugins/texteditor/plaintexteditor.cpp +++ b/src/plugins/texteditor/plaintexteditor.cpp @@ -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); |