Hi, On Thu, Sep 17, 2020 at 5:36 PM Prabir Shrestha <[email protected]> wrote:
> @yegappan <https://github.com/yegappan> any plans to return multiple > highlights for an item? Is it currently the limitation in the library? > Would be good if it supported it even if the library didnt support it so > in future can update the library without updating the public api. > I am not sure about the use case for returning multiple matches within a given string. Why is it not good enough to just highlight the best match within a string? How will highlighting multiple matches within a given string help a user? For example, consider the case of searching for 'aa' in the string 'aaaaaaaa' (worst case scenario). If all the matches are highlighted, then the entire string will be highlighted, which doesn't add much value. Regards, Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7nHT4U%3DjjQ5aFxF1buthybwzeB%3Dd_RdqN6pzzG0BvNTXg%40mail.gmail.com.
