Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So far, search was only enabled in views with Wrap=false, so it didn't make a difference. If Wrap is on, we need to work with viewLines rather than lines, because that's what the code that highlights the search results expects. Note that a viewLine index is also passed back to the onSelectItem callback, so clients need to be able to deal with that. We don't touch the modelSearchResults code path, as it's a bit unclear how to support Wrap=true in that case, and we don't need it right now.
- Loading branch information