From 157a8bf466fb57685a1c8dad7a3225418258635a Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Wed, 29 Oct 2014 20:32:47 +0100 Subject: [PATCH] Proposing improvements in keywords match when the page is not full. --- src/hstr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hstr.c b/src/hstr.c index 1ac7a066..9beb9bb3 100644 --- a/src/hstr.c +++ b/src/hstr.c @@ -540,10 +540,10 @@ unsigned hstr_make_selection(char *prefix, HistoryItems *history, int maxSelecti case HH_MATCH_REGEXP: // all regexps matched previously - user decides whether match ^ or infix break; -// case HH_MATCH_KEYWORDS: -// keywordsParsedLine = -// -// break; + case HH_MATCH_KEYWORDS: + // TODO MD consider adding lines that didn't matched all keywords, but some of them + // (ordered by number of matched keywords) + break; } } }