forked from qt-creator/qt-creator
Fix style of whitespace in diff description
Task-number: QTCREATORBUG-9445 Change-Id: I1c60181b7e15c66b88cc1d5ec7584951d3aa46a0 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
|
||||
#include <texteditor/displaysettings.h>
|
||||
#include <texteditor/marginsettings.h>
|
||||
#include <texteditor/syntaxhighlighter.h>
|
||||
#include <texteditor/textdocument.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
#include <texteditor/texteditorsettings.h>
|
||||
|
||||
@@ -120,6 +122,8 @@ DescriptionEditorWidget::DescriptionEditorWidget(QWidget *parent)
|
||||
m_context->setWidget(this);
|
||||
m_context->setContext(Core::Context(Constants::C_DIFF_EDITOR_DESCRIPTION));
|
||||
Core::ICore::addContextObject(m_context);
|
||||
|
||||
textDocument()->setSyntaxHighlighter(new SyntaxHighlighter);
|
||||
}
|
||||
|
||||
DescriptionEditorWidget::~DescriptionEditorWidget()
|
||||
|
||||
Reference in New Issue
Block a user