ZIm/crates/go_to_line/src
Danilo Leal a2a3d1a4bd
editor: Refactor EditorMode::Full (#28546)
This PR lightly refactors the `EditorMode::Full` exposing two new
methods: `is_full` and `set_mode`.

Motivation is to expose fields that modify the behavior when the editor
is in `Full` mode. By using is `mode.is_full()` instead of
`EditorMode::Full` we can introduce new fields without breaking other
places in the code.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
2025-04-10 23:22:27 +00:00
..
cursor_position.rs editor: Refactor EditorMode::Full (#28546) 2025-04-10 23:22:27 +00:00
go_to_line.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00