mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-28 13:18:04 +00:00
b43602f21b
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |