Files
zed/crates
Bennet Bo Fenner 63fe554c35 editor: Respect read_only in newline_below (#50804)
Turns out `Editor::newline_below` was not respecting the `read_only`
flag because it uses buffer.edit. `Editor::newline` and
`Editor::newline_above` behaved correctly because they used
`editor.edit` which ignores edits if `read_only` is true.

Added an early return if the editor is read only, also added it to
newline/newline_above for clarity.

Release Notes:

- Fixed an issue where newlines could be inserted into read-only editors
2026-03-05 10:07:52 +00:00
..
2026-02-12 01:06:23 +00:00
2026-03-04 13:04:48 -07:00
2026-02-12 01:06:23 +00:00
2026-02-28 02:54:15 +00:00
2026-02-26 18:36:50 +01:00
2026-02-19 19:15:59 -05:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-27 13:24:37 -07:00
2026-03-04 13:04:48 -07:00