zed/crates/util/src
Tarun Verghis edff78e722
Allow ignoring soft wraps when moving to line ends (#11153)
Release Notes:

- Fixed #10888

This patch addresses behavior of
`Editor::move_to_{beginning|end}_of_line`. It adds a setting,
`stop_at_soft_wraps` when defining a keymap for the
`editor::MoveToBeginningOfLine` and `editor::MoveToEndOfLine` actions.
When `true`, it causes movement to the either end of the line (via, for
example Home or End), to go to the logical end, as opposed to the
nearest soft wrap point in the respective direction.

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
2024-05-02 12:30:45 +03:00
..
test Fix Clippy warnings in util crate (#8721) 2024-03-02 13:06:35 -05:00
arc_cow.rs Add logic for managing language and theme extensions (#7467) 2024-02-07 15:14:50 -05:00
codeberg.rs Add avatar support for codeberg in git blame (#10991) 2024-04-30 12:57:10 +02:00
fs.rs chore: Clean up util dependencies. (#9247) 2024-03-13 00:10:49 +01:00
git_author.rs Add avatar support for codeberg in git blame (#10991) 2024-04-30 12:57:10 +02:00
github.rs Add avatar support for codeberg in git blame (#10991) 2024-04-30 12:57:10 +02:00
http.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
paths.rs XDG_BASE_DIR support (linux, windows) (#10808) 2024-04-22 12:42:18 -07:00
serde.rs Allow ignoring soft wraps when moving to line ends (#11153) 2024-05-02 12:30:45 +03:00
test.rs Fix Clippy warnings in util crate (#8721) 2024-03-02 13:06:35 -05:00
util.rs Allow ignoring soft wraps when moving to line ends (#11153) 2024-05-02 12:30:45 +03:00