![]() ![]() So abc is a subsequence of xaybgc, but not of xbyxaxxc. This is a fancy way of saying that any input characters need to be present in a completion string in the order in which they appear in the input. The input needs to be a subsequence match of a completion. If the offered completions are not relevant enough, the user can continue typing to further filter out unwanted completions.Ī critical thing to notice is that the completion filtering is NOT based on the input being a string prefix of the completion (but that works too). Repeated presses of the TAB key cycle through the offered completions. When the user sees a useful completion string being offered, they press the TAB key to accept it. If the user doesn’t find the completion suggestions relevant and/or just wants to type, they can do so the completion engine will not interfere. The user just types and the suggestions pop up by themselves. Here’s an explanation of what happens in the last GIF demo above.įirst, realize that no keyboard shortcuts had to be pressed to get the list of completion candidates at any point in the demo.
0 Comments
Leave a Reply. |