diff options
| author | Stephen Blott | 2015-02-02 05:33:24 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-02 05:33:24 +0000 |
| commit | b082b11942dac88cff4ddb22ae0bc4426cf98bf5 (patch) | |
| tree | 528ab33b6a5ce70a35ef27926da0b733095e8139 | |
| parent | bf20ceb6e804e28187dbf900904662d3b5909cdc (diff) | |
| download | vimium-b082b11942dac88cff4ddb22ae0bc4426cf98bf5.tar.bz2 | |
Get the right match count for find.
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index ce8ad1ae..e1c703e6 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -711,6 +711,9 @@ updateFindModeQuery = -> # default to 'smartcase' mode, unless noIgnoreCase is explicitly specified findModeQuery.ignoreCase = !hasNoIgnoreCaseFlag && !Utils.hasUpperCase(findModeQuery.parsedQuery) + # Don't count matches in the HUD. + HUD.hide(true) + # if we are dealing with a regex, grep for all matches in the text, and then call window.find() on them # sequentially so the browser handles the scrolling / text selection. if findModeQuery.isRegex |
