forked from qt-creator/qt-creator
Whole-words searching doesn't work with QtWebKit.
So we turn it off. Task-number: QTCREATORBUG-4706 Change-Id: Ib51740428db35a1697dd5bca0f8f58b7ffd5fb1a Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
This commit is contained in:
@@ -53,8 +53,7 @@ bool HelpFindSupport::isEnabled() const
|
|||||||
|
|
||||||
Find::FindFlags HelpFindSupport::supportedFindFlags() const
|
Find::FindFlags HelpFindSupport::supportedFindFlags() const
|
||||||
{
|
{
|
||||||
return Find::FindBackward | Find::FindCaseSensitively
|
return Find::FindBackward | Find::FindCaseSensitively;
|
||||||
| Find::FindWholeWords;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString HelpFindSupport::currentFindString() const
|
QString HelpFindSupport::currentFindString() const
|
||||||
@@ -103,8 +102,7 @@ HelpViewerFindSupport::HelpViewerFindSupport(HelpViewer *viewer)
|
|||||||
|
|
||||||
Find::FindFlags HelpViewerFindSupport::supportedFindFlags() const
|
Find::FindFlags HelpViewerFindSupport::supportedFindFlags() const
|
||||||
{
|
{
|
||||||
return Find::FindBackward | Find::FindCaseSensitively
|
return Find::FindBackward | Find::FindCaseSensitively;
|
||||||
| Find::FindWholeWords;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString HelpViewerFindSupport::currentFindString() const
|
QString HelpViewerFindSupport::currentFindString() const
|
||||||
|
|||||||
Reference in New Issue
Block a user