Highlight matches when opening editor from advanced text search.

When you close the search pane it will remove the highlight, even if the
find tool bar is open with a different search, though.

Task-number: QTCREATORBUG-2606
Change-Id: I7defe15c844d37ae80ab66c6b9e68e1ef1afdf92
Reviewed-on: http://codereview.qt.nokia.com/2786
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Eike Ziller
2011-08-09 11:08:01 +02:00
parent 86e2b72486
commit b1c881ceaa
10 changed files with 87 additions and 37 deletions

View File

@@ -132,7 +132,7 @@ public:
BaseTextEditorWidget(QWidget *parent);
~BaseTextEditorWidget();
static ITextEditor *openEditorAt(const QString &fileName, int line, int column = 0,
static Core::IEditor *openEditorAt(const QString &fileName, int line, int column = 0,
const QString &editorId = QString(),
Core::EditorManager::OpenEditorFlags flags = Core::EditorManager::IgnoreNavigationHistory,
bool *newEditor = 0);