Commit 15a9ad92 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

VCS: Support searching in VCS output pane

Change-Id: I88312b2585636aa89b2657800fc2254e83dc9c00
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 9a27b73d
......@@ -32,6 +32,8 @@
#include <coreplugin/editormanager/editormanager.h>
#include <aggregation/aggregate.h>
#include <coreplugin/find/basetextfind.h>
#include <utils/fileutils.h>
#include <utils/outputformatter.h>
#include <utils/theme/theme.h>
......@@ -288,8 +290,12 @@ public:
Internal::OutputWindowPlainTextEdit *VcsOutputWindowPrivate::plainTextEdit()
{
if (!m_plainTextEdit)
if (!m_plainTextEdit) {
m_plainTextEdit = new Internal::OutputWindowPlainTextEdit();
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
agg->add(m_plainTextEdit);
agg->add(new Core::BaseTextFind(m_plainTextEdit));
}
return m_plainTextEdit;
}
......
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