From 9b07fa7861620900e0d1da5829b38ddb4e8ff789 Mon Sep 17 00:00:00 2001
From: Stephen Blott
Date: Wed, 10 Jun 2015 15:12:45 +0100
Subject: Note changes in README.
---
README.md | 3 ++-
content_scripts/link_hints.coffee | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index a3bf84bb..b2b865f1 100644
--- a/README.md
+++ b/README.md
@@ -163,7 +163,8 @@ Release Notes
- Added \`\` to jump back to the previous position after selected jump-like movements:
(`gg`, `G`, `n`, `N`, `/` and local mark movements).
- Global marks are now persistent (across tab closes and browser sessions) and synced.
-- For filtered link hints (not the default), you can now use `Tab` to select hints.
+- For filtered link hints (not the default), you can now use `Tab` and `Enter`
+ to select hints and hints are ordered by best match.
- Bug fixes, including:
- Bookmarklets accessed from the Vomnibar.
- Global marks on non-Windows platforms.
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 3dbb4f23..cbb4085e 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -577,7 +577,7 @@ class FilterHints
# Assign a score to a filter match (higher is better). We assign a higher score for matches at the start of
# a word, and a considerably higher score still for matches which are whole words.
- # Note(smblott) if linkSearchString is empty, then every hint get a score of 2.
+ # Note(smblott) if linkSearchString is empty, then every hint get a score of 4.
scoreLinkHint: (linkSearchString) ->
searchWords = linkSearchString.trim().split /\s+/
(linkMarker) ->
--
cgit v1.2.3