Johannes Altmanninger 69f0d960cf Fix off-by-one error in Vi-style upcase-word at commandline end
cursor_selection_mode=inclusive means the commandline position is
bounded by the last character. Fix a loop that fails to account
for this.

Fixes d51f669647 (Vi mode: avoid placing cursor beyond last character,
2024-02-14).

This change looks very odd because if the commandline is like

	echo foo.

it makes us try to uppercase the trailing period even though that's
not part of word range.  Hopefully this is harmless.

Note that there seem to be more issues remaining, for example Vi-mode
paste leaves the cursor in an out-of-bounds odd position.

Fixes #10952
Closes #10953

Reported-by: Lzu Tao <taolzu@gmail.com>
2024-12-30 10:50:01 +01:00
..
2024-12-27 20:05:10 +01:00
2024-12-08 13:57:10 -08:00
2024-12-08 13:57:10 -08:00
2024-06-02 15:31:19 -07:00
2024-12-27 20:05:10 +01:00
2024-04-02 22:41:54 +02:00
2020-11-22 14:39:48 +01:00
2023-06-01 18:20:19 +02:00
2024-12-15 17:38:37 +01:00
2024-12-15 17:32:47 +01:00
2024-06-02 14:17:36 -07:00