fakevim: Fix search issues

Highlighting text is always case sensitive regular expression.

Fix asterisk and hash search.

Change-Id: Ia41eee9266de4ed9bf0bd221609d8e02b72ada03
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Lukas Holecek
2012-10-01 17:27:53 +02:00
committed by hjk
parent d47b058c9b
commit 3e6ac65444
2 changed files with 2 additions and 1 deletions

View File

@@ -1756,7 +1756,7 @@ void FakeVimPluginPrivate::highlightMatches(const QString &needle)
QWidget *w = editor->widget();
Find::IFindSupport *find = Aggregation::query<Find::IFindSupport>(w);
if (find != 0)
find->highlightAll(needle, Find::FindRegularExpression);
find->highlightAll(needle, Find::FindRegularExpression | Find::FindCaseSensitively);
}
int FakeVimPluginPrivate::currentFile() const