Skip to content

Release 0.9.2

Compare
Choose a tag to compare
@pdyraga pdyraga released this 12 Dec 10:29
· 25 commits to master since this release

Changes:

#23

We now support using Ctrl-N and Ctrl-P to move down and up
in the suggestion list, respectively. This is in line with many/most
other suggestion dropdowns (e.g. Github, Chrome/Safari location
bars, vim, etc).

We now support providing a buildMarkerRegExp function that
will allow you to provide a regular expression used to mark matches
within a suggestion's display value with a match class. This can
then be used for styling purposes to indicate the parts of the suggestion
that matched.

#24

We avoid triggering completion on non-printable keyups. This
takes care of a new bug with C-N and C-P, which would trigger
new searches when you released Ctrl, which would clear your
down/up movement. However, it also takes care of an old bug
where the completion popup would immediately appear when
you tabbed into a completable input, even if you didn't want to
select something else. With a misplaced mouse, you could
change your selection and wreak havoc.

We now ignore tab as well, so that you can trigger the completion
by starting to type in the input, not simply by tabbing to it.