Piotr Osiewicz
b43602f21b
editor: indent from cursor position with a single selection ( #10073 )
...
In 9970 @JosephTLyons noticed that tab + tab_prev action sequence leaves
a buffer in the dirty state, whereas "similar" indent-outdent does not.
I've tracked it down to the fact that tabs are always inserted at the
start of the line, regardless of the cursor position, whereas tab-prevs
act from cursor position.
This PR adjust tab/tab-prev actions (and indent-outdent) to act from
cursor position if possible. That way we can correctly report buffer
dirty state for these event sequences.
Fixes #9970
Release Notes:
- Fixed buffer being marked as dirty when using tab/tab-prev actions.
2024-04-02 13:33:11 +02:00
..
2024-03-28 15:41:22 -04:00
2024-04-01 12:16:16 +03:00
2024-03-05 12:01:17 -05:00
2024-03-31 15:57:57 -06:00
2024-03-26 13:28:06 +01:00
2024-03-12 12:54:12 +02:00
2024-03-14 16:39:55 -04:00
2024-03-05 12:01:17 -05:00
2024-03-22 17:29:06 -07:00
2024-03-28 11:55:35 -04:00
2024-03-29 21:12:47 -04:00
2024-03-05 12:01:17 -05:00
2024-04-01 17:10:30 -04:00
2024-04-01 12:31:19 +02:00
2024-03-29 17:09:49 -07:00
2024-03-15 16:58:46 -04:00
2024-03-15 12:37:25 -04:00
2024-03-26 13:28:06 +01:00
2024-03-29 12:18:38 +02:00
2024-03-28 10:51:55 +01:00
2024-03-22 17:29:06 -07:00
2024-03-19 10:16:18 -07:00
2024-04-02 13:33:11 +02:00
2024-04-01 17:10:30 -04:00
2024-04-01 15:27:03 -07:00
2024-03-28 18:32:11 +01:00
2024-04-01 15:27:03 -07:00
2024-03-05 12:01:17 -05:00
2024-03-26 13:28:06 +01:00
2024-04-01 17:22:59 -07:00
2024-03-29 13:55:01 -07:00
2024-04-01 18:22:25 +03:00
2024-03-08 22:18:44 -08:00
2024-03-05 12:01:17 -05:00
2024-03-29 13:17:48 -04:00
2024-03-14 12:39:45 -04:00
2024-03-20 15:52:02 +01:00
2024-04-01 17:22:59 -07:00
2024-03-11 10:45:57 +01:00
2024-03-29 17:09:49 -07:00
2024-03-11 10:45:57 +01:00
2024-03-22 11:17:16 +01:00
2024-03-29 13:55:01 -07:00
2024-03-05 12:01:17 -05:00
2024-03-26 13:28:06 +01:00
2024-03-29 18:03:38 -04:00
2024-03-20 17:33:26 -04:00
2024-03-18 20:33:20 -06:00
2024-03-29 12:18:38 +02:00
2024-03-26 12:12:57 +02:00
2024-03-28 10:22:31 -07:00
2024-03-26 16:10:09 -07:00
2024-04-01 16:30:14 -06:00
2024-03-20 12:47:04 -07:00
2024-03-05 12:01:17 -05:00
2024-03-21 20:30:33 -06:00
2024-03-14 12:39:45 -04:00
2024-04-01 17:22:59 -07:00
2024-03-21 08:23:15 +01:00
2024-04-02 11:13:18 +02:00
2024-04-01 17:22:59 -07:00
2024-03-05 12:01:17 -05:00
2024-03-05 12:01:17 -05:00
2024-03-29 23:17:25 +02:00
2024-03-05 12:01:17 -05:00
2024-03-05 12:01:17 -05:00
2024-03-05 12:01:17 -05:00
2024-03-21 14:10:18 -06:00
2024-03-28 18:32:11 +01:00
2024-04-02 11:13:18 +02:00
2024-03-29 12:11:57 -04:00
2024-03-26 13:28:06 +01:00
2024-03-05 12:01:17 -05:00
2024-03-05 12:01:17 -05:00
2024-03-05 12:01:17 -05:00
2024-03-14 17:05:07 -04:00
2024-03-28 10:40:07 -07:00
2024-03-05 12:01:17 -05:00
2024-03-30 00:19:02 +01:00
2024-03-29 11:45:50 +01:00
2024-03-29 18:41:14 +01:00
2024-03-29 12:11:57 -04:00
2024-04-01 17:22:59 -07:00
2024-04-01 12:31:19 +02:00
2024-03-28 18:32:11 +01:00
2024-04-01 12:07:26 -04:00
2024-04-01 12:07:26 -04:00
2024-03-20 11:13:58 -04:00
2024-03-12 21:02:04 -06:00
2024-04-02 10:37:14 +02:00
2024-03-29 12:11:57 -04:00
2024-03-05 12:01:17 -05:00
2024-04-01 17:22:59 -07:00
2024-03-20 18:52:17 -06:00
2024-04-01 12:07:26 -04:00
2024-04-01 18:22:25 +03:00
2024-03-29 13:55:01 -07:00
2024-03-05 12:01:17 -05:00