Files
oak-gpui/crates
Nigel Jose fefc91c6ad Improve code folding to exclude folding line breaks in whitespace-sensitive languages (#13108)
<img width="1219" alt="Screenshot 2024-06-16 at 15 43 31"
src="https://github.com/zed-industries/zed/assets/87859239/dd05de16-7f20-4c88-9e95-021555b8b78b">
<img width="1219" alt="Screenshot 2024-06-16 at 15 45 10"
src="https://github.com/zed-industries/zed/assets/87859239/b1b78cdd-f34d-4ea3-9728-4741727a9643">

Updated the foldable_range method to exclude folding line breaks during
code folding in whitespace-sensitive languages like Python and YAML.
This adjustment ensures that folding behaves as expected, similar to
other code editors.

Ref #11614

Release Notes:

- Improved code folds to ignore trailing newlines
2024-06-21 10:03:06 +03:00
..
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-06-18 13:48:26 -06:00
2024-05-29 18:06:45 -07:00
2024-06-12 23:22:52 +03:00
2024-06-12 23:22:52 +03:00
2024-06-18 12:16:54 -07:00
2024-05-10 15:50:20 -06:00
2024-06-18 12:39:56 +02:00
2024-06-18 12:16:54 -07:00
2024-05-23 15:50:59 +02:00
2024-06-18 12:16:54 -07:00