Johannes Altmanninger
e6e647092d
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 >
(cherry picked from commit 69f0d960cf )
2025-01-04 20:17:32 +08:00
..
2024-12-22 18:13:29 +01:00
2024-12-29 13:37:29 +01:00
2024-12-06 22:12:26 +01:00
2024-12-04 20:18:16 +01:00
2024-11-30 12:21:30 -08:00
2024-11-13 17:48:15 +01:00
2024-08-26 17:10:26 -05:00
2024-09-24 17:00:13 +02:00
2024-11-24 11:17:34 +01:00
2024-05-06 14:59:36 -05:00
2024-12-16 06:33:47 +01:00
2024-05-06 14:59:36 -05:00
2024-11-30 12:21:30 -08:00
2024-12-08 15:27:08 +01:00
2024-12-14 09:31:20 +01:00
2024-06-29 18:03:52 -07:00
2024-10-26 22:28:37 +02:00
2024-12-14 12:10:34 +01:00
2024-08-27 14:28:00 +02:00
2024-11-17 12:37:45 -08:00
2024-11-30 12:21:30 -08:00
2024-10-19 22:06:05 +02:00
2024-11-22 21:35:39 -06:00
2024-08-27 14:28:00 +02:00
2024-08-27 14:28:00 +02:00
2024-10-09 12:36:58 +02:00
2024-08-31 13:16:51 -05:00
2024-10-09 14:51:54 +02:00
2024-11-27 08:44:36 +01:00
2024-04-21 14:25:54 +02:00
2024-04-29 22:00:59 +02:00
2024-03-09 10:09:03 +01:00
2024-09-14 08:51:42 +02:00
2024-12-14 09:34:52 +01:00
2024-12-23 14:43:33 +01:00
2024-12-23 14:43:33 +01:00
2024-09-22 14:02:55 -07:00
2024-11-14 13:24:55 -06:00
2024-11-13 17:48:15 +01:00
2024-01-13 08:52:54 +01:00
2024-09-21 17:52:11 -07:00
2024-08-27 14:28:00 +02:00
2024-08-27 14:28:00 +02:00
2024-06-23 17:13:14 -07:00
2024-08-27 14:28:00 +02:00
2024-06-29 18:03:52 -07:00
2024-06-23 16:39:39 -07:00
2024-05-06 14:59:36 -05:00
2024-10-27 08:17:56 +01:00
2024-11-11 16:45:13 -06:00
2024-06-09 12:29:09 -07:00
2024-10-19 22:04:54 +02:00
2024-07-07 20:58:09 -05:00
2024-11-01 20:09:55 +01:00
2024-01-13 08:52:54 +01:00
2024-12-07 10:37:53 -08:00
2024-12-28 12:14:14 -08:00
2024-11-17 17:03:34 -08:00
2024-12-23 14:43:37 +01:00
2024-01-13 03:58:33 +01:00
2024-05-06 14:59:36 -05:00
2025-01-04 20:17:32 +08:00
2024-06-29 18:03:52 -07:00
2024-12-07 10:37:53 -08:00
2024-12-23 17:01:04 +01:00
2024-06-29 18:03:52 -07:00
2024-08-31 12:57:13 -05:00
2024-08-27 14:28:00 +02:00
2024-09-18 22:27:00 +02:00
2024-11-30 23:11:04 +01:00
2024-06-29 18:07:11 -07:00
2024-06-02 20:27:44 -05:00
2024-10-13 12:39:54 -07:00
2024-11-14 13:02:03 -06:00
2024-12-14 09:31:20 +01:00
2024-09-21 17:52:11 -07:00
2024-11-22 16:30:10 -06:00
2024-04-17 12:41:16 -07:00
2024-11-24 16:11:57 +01:00