Files
oak-gpui/crates
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-29 21:12:47 -04:00
2024-03-28 18:32:11 +01:00
2024-03-29 13:17:48 -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-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-04-01 16:30:14 -06:00
2024-04-01 17:22:59 -07:00
2024-03-28 18:32:11 +01:00
2024-03-14 17:05:07 -04:00
2024-03-28 18:32:11 +01:00
2024-04-01 17:22:59 -07:00