Files
oak-gpui/crates
Bennet Bo FennerandAgus Zubiaga acb3406eb8 editor: Wrap placeholder if text overflows (#37919)
This fixes an issue where long placeholders would be cut off, e.g. in a
Claude Code thread:

<img width="387" height="115" alt="image"
src="https://github.com/user-attachments/assets/831a54aa-cf2b-4d87-af86-e368a5936f6b"
/>

Now:

<img width="354" height="115" alt="image"
src="https://github.com/user-attachments/assets/e5df5e05-0869-4db2-8dee-38611263191c"
/>


Most of the changes in this PR are caused by us requiring `&mut Window`
in `set_placeholder_text`.

Release Notes:

- Fixed an issue where placeholders inside editors would not wrap

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
2025-09-10 15:38:19 +00:00
..
2025-09-03 22:10:14 +00:00
2025-08-13 13:25:52 -06:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-09-03 22:10:14 +00:00
2025-09-06 00:27:14 +02:00
2025-08-19 20:33:44 +00:00
…
…
…
2025-09-08 21:53:17 -06:00
2025-09-09 20:08:05 +00:00
2025-09-08 14:19:41 -04:00
2025-09-08 21:53:17 -06:00
2025-09-10 14:39:37 +00:00