ZIm/crates/rules_library
Cole Miller 3ecdfc9b5a
Remove auto-width editor type (#34438)
Closes #34044

`EditorMode::SingleLine { auto_width: true }` was only used for the
title editor in the rules library, and following
https://github.com/zed-industries/zed/pull/31994 we can replace that
with a normal single-line editor without problems. The auto-width editor
was interacting badly with the recently-added newline visualization
code, causing a panic during layout---by switching it to
`Editor::single_line` the newline visualization works there too.

Release Notes:

- Fixed a panic that could occur when opening the rules library.

---------

Co-authored-by: Finn <finn@zed.dev>
2025-07-15 17:36:09 +00:00
..
src Remove auto-width editor type (#34438) 2025-07-15 17:36:09 +00:00
Cargo.toml linux: Add title bar for rules library (#33025) 2025-06-19 18:23:09 +05:30
LICENSE-GPL Rename "Prompt Library" to "Rules Library" (#29349) 2025-04-24 16:42:06 -03:00