forked from qt-creator/qt-creator
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:
@@ -154,7 +154,7 @@ protected:
|
||||
} // namespace Internal
|
||||
} // namespace TextEditor
|
||||
|
||||
ITextEditor *BaseTextEditorWidget::openEditorAt(const QString &fileName, int line, int column,
|
||||
Core::IEditor *BaseTextEditorWidget::openEditorAt(const QString &fileName, int line, int column,
|
||||
const QString &editorKind,
|
||||
Core::EditorManager::OpenEditorFlags flags,
|
||||
bool *newEditor)
|
||||
@@ -170,7 +170,7 @@ ITextEditor *BaseTextEditorWidget::openEditorAt(const QString &fileName, int lin
|
||||
return texteditor;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return editor;
|
||||
}
|
||||
|
||||
static void convertToPlainText(QString &txt)
|
||||
|
||||
Reference in New Issue
Block a user