diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2025-05-10 21:23:30 +0200 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2025-05-11 09:57:17 +1000 |
| commit | 3241f1b63025ebad4f8706594acf265f0e5e9c4a (patch) | |
| tree | 6cb0e306fb77aee0c7bf92f2f7f4c8d3667a370d /src/array.hh | |
| parent | 1de0003e292034f11d05be7ffbe366f4fc23bb76 (diff) | |
Test for <?> dropping selections where search wraps
Add a test covering this branch in extend_to_next_matches():
else if (new_sels.size() <= main_index)
--main_index;
Specifically, this test would fail if the "<=" were to be replaced with "<".
Diffstat (limited to 'src/array.hh')
0 files changed, 0 insertions, 0 deletions
