Skip to content

Commit 157a8bf

Browse files
author
Martin Dvorak
committed
Proposing improvements in keywords match when the page is not full.
1 parent ba5ba43 commit 157a8bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/hstr.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,10 +540,10 @@ unsigned hstr_make_selection(char *prefix, HistoryItems *history, int maxSelecti
540540
case HH_MATCH_REGEXP:
541541
// all regexps matched previously - user decides whether match ^ or infix
542542
break;
543-
// case HH_MATCH_KEYWORDS:
544-
// keywordsParsedLine =
545-
//
546-
// break;
543+
case HH_MATCH_KEYWORDS:
544+
// TODO MD consider adding lines that didn't matched all keywords, but some of them
545+
// (ordered by number of matched keywords)
546+
break;
547547
}
548548
}
549549
}

0 commit comments

Comments
 (0)