ZIm/crates/workspace/src
Thorsten Ball 3a0d3cee87
Compute scrollbar markers asynchronously (#10080)
Refs #9647
Fixes https://github.com/zed-industries/zed/issues/9792

This pull request moves the computation of scrollbar markers off the
main thread, to prevent them from grinding the editor to a halt when we
have a lot of them (e.g., when there are lots of search results on a
large file). With these changes we also avoid generating multiple quads
for adjacent markers, thus fixing an issue where we stop drawing other
primitives because we've drawn too many quads in the scrollbar.

Release Notes:

- Improved editor performance when displaying lots of search results,
diagnostics, or symbol highlights in the scrollbar
([#9792](https://github.com/zed-industries/zed/issues/9792)).

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Nathan <nathan@zed.dev>
2024-04-03 12:21:17 +02:00
..
persistence collab ui: Fix notification windows on external monitors (#9817) 2024-03-26 13:07:38 -07:00
dock.rs workspace: Fix panel resize handles leaking through zoomed panels (#9909) 2024-03-28 12:18:51 +01:00
item.rs chore: Wrap WorkspaceId in newtype (#9492) 2024-03-18 12:39:03 +01:00
modal_layer.rs Occlude only modal and not the space around it used to center it 2024-03-11 18:13:00 +01:00
notifications.rs Fix issues with extension API that come up when moving Svelte into an extension (#9611) 2024-03-22 17:29:06 -07:00
pane.rs Fix panel drag leaking through overlay (#10035) 2024-04-01 12:31:19 +02:00
pane_group.rs themes: Add pane_group.border color (#9986) 2024-04-01 12:07:26 -04:00
persistence.rs collab ui: Fix notification windows on external monitors (#9817) 2024-03-26 13:07:38 -07:00
searchable.rs Compute scrollbar markers asynchronously (#10080) 2024-04-03 12:21:17 +02:00
shared_screen.rs Add more open events 2024-01-15 16:26:04 -05:00
status_bar.rs Rename overflow_hidden_{x,y} to overflow_{x,y}_hidden (#4146) 2024-01-18 22:10:41 -05:00
toolbar.rs Editor toolbar configuration (#7338) 2024-02-03 22:40:54 +02:00
workspace.rs Fix Recent Documents List (continues #8952) (#9919) 2024-03-29 23:17:25 +02:00
workspace_settings.rs Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00