forked from qt-creator/qt-creator
VcsOutputWindow: Fix creating links from command output
After the refactoring of the output parsers in
1c6e4fbd32, NormalMessageFormat and
ErrorMessageFormat are no longer parsed.
To allow parsing and therefore generating links,
the command output has to be declared as stdout
or stderr, depending on the severity.
Our own log and command messages are now
(in contrast to Creator 4.12) no longer parsed for
commit hashes and links, but this is acceptable.
Parsing the command output is often more interesting.
Change-Id: I7e7a96f4ff98edd88f5d9b8abddf94363768c0a6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
73865034c6
commit
c2c5731d50
@@ -262,10 +262,10 @@ void OutputWindowPlainTextEdit::setFormat(VcsOutputWindow::MessageStyle style)
|
||||
m_format = LogMessageFormat;
|
||||
break;
|
||||
case VcsOutputWindow::Error:
|
||||
m_format = ErrorMessageFormat;
|
||||
m_format = StdErrFormat;
|
||||
break;
|
||||
case VcsOutputWindow::Message:
|
||||
m_format = NormalMessageFormat;
|
||||
m_format = StdOutFormat;
|
||||
break;
|
||||
case VcsOutputWindow::Command:
|
||||
m_format = NormalMessageFormat;
|
||||
|
||||
Reference in New Issue
Block a user