mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-17 21:54:03 +00:00
find_matches_in_lines was passing the exclusive end offset of a match to find_pos, so a match ending at the end of the joined screen lines mapped to no line and was dropped. It was not highlighted, not counted and n/N skipped it. Since screen lines are not padded, this hit any match on the last character of a line, for example searching for foo in "x := foo". Look up the line holding the last matched byte instead. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| collect.go | ||
| collect_test.go | ||
| diff.go | ||
| highlight.go | ||
| main.go | ||
| main.py | ||
| mouse.go | ||
| patch.go | ||
| patch_test.go | ||
| render.go | ||
| search.go | ||
| search_test.go | ||
| ui.go | ||