diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-10-08 08:28:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-10-08 08:38:39 +0000 |
| commit | a772179b6c850aad32f52d51c384ad933746c0cd (patch) | |
| tree | aed258a21db20556a022d76225feb972d8eb912b /scripts | |
| parent | foot.ini: document all the new search.extend* bindings (diff) | |
search: fix mixup in search_extend_find_line()
The has_wrapped_around_{right,left} functions were mixed up, causing
false positives and false negatives, resulting in bad search matches.
Also make all search_extend_find* functions return a boolean; false
means no change in the selection. In this case, we can skip trying to
extend the selection, and updating the UI.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
