diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-17 22:01:24 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-17 22:01:24 +0000 |
| commit | 68db8ff1f58bf167fb2eea6747bea3ee7e8a2459 (patch) | |
| tree | 542575ffdc51cf37df91d57122ed772a4323ddaf /search.c | |
| parent | search: match iterator: handle overlapping matches (diff) | |
search: search_update_selection() no longer expects end coordinate to be exclusive
Diffstat (limited to 'search.c')
| -rw-r--r-- | search.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -623,9 +623,6 @@ search_match_to_end_of_word(struct terminal *term, bool spaces_only) if (move_cursor) term->search.cursor = term->search.len; - /* search_update_selection() expected end coordinate to be *exclusive* */ - newline(new_end); - struct range match = {.start = term->search.match, .end = new_end}; search_update_selection(term, &match); |
