aboutsummaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-10-08 08:28:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-10-08 08:38:39 +0000
commita772179b6c850aad32f52d51c384ad933746c0cd (patch)
treeaed258a21db20556a022d76225feb972d8eb912b /debug.c
parentfoot.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 'debug.c')
0 files changed, 0 insertions, 0 deletions