ZIm/crates/multi_buffer/src
Michael Sloan 498bb518ff
Require alt-tab for AcceptEditPrediction when tab inserting whitespace is desired (#24705)
Moves tab whitespace insertion logic out of `AcceptEditPrediction`
handler.

`edit_prediction_requires_modifier` context will now be true when on a
line with leading whitespace, so that `alt-tab` is used to accept
predictions in this case. This way leading indentation can be typed when
edit predictions are visible

Release Notes:

- N/A

Co-authored-by: Ben <ben@zed.dev>
Co-authored-by: Joao <joao@zed.dev>
2025-02-12 01:14:09 +00:00
..
anchor.rs Add staged status information to diff hunks (#24475) 2025-02-10 21:43:25 -05:00
multi_buffer.rs Require alt-tab for AcceptEditPrediction when tab inserting whitespace is desired (#24705) 2025-02-12 01:14:09 +00:00
multi_buffer_tests.rs Add staged status information to diff hunks (#24475) 2025-02-10 21:43:25 -05:00
position.rs Rework diff rendering to allow putting the cursor into deleted text, soft-wrapping and scrolling deleted text correctly (#22994) 2025-01-24 14:18:22 -07:00