diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-03 19:25:22 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-03 19:25:22 +0000 |
| commit | 0f98101bbcff89be4743c5e879531ca3fd520019 (patch) | |
| tree | ef5f9d58a573cfd0343ff2f9fa5042584e2cf115 /render.c | |
| parent | search: bug: restore end-col/end-row adjustment (diff) | |
search: match_to_end_of_word: bug: reset end-col when bumping end-row
When we calculate the end coords, we must reset end-col when we reach
the end of the line and bump the end-row.
This fixes an issue where bumping the row once lead to the end row
being bumped for *each* remaining match character.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
