forked from qt-creator/qt-creator
VCS: Highlight commit lines in log editor
Task-number: QTCREATORBUG-13997 Change-Id: I7d9a85cd6022a20a487010a35164ff100b72218d Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
9877221a3d
commit
dcd3b958cf
@@ -736,7 +736,7 @@ void VcsBaseEditorWidget::init()
|
||||
break;
|
||||
}
|
||||
if (hasDiff()) {
|
||||
auto dh = new DiffAndLogHighlighter(d->m_diffFilePattern);
|
||||
auto dh = new DiffAndLogHighlighter(d->m_diffFilePattern, d->m_logEntryPattern);
|
||||
setCodeFoldingSupported(true);
|
||||
textDocument()->setSyntaxHighlighter(dh);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user