ZIm/crates/vim/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
..
normal Fix vim code working on display map chars (#10103) 2024-04-02 22:16:52 -06:00
test Fix assorted linux issues (#10061) 2024-04-01 17:22:59 -07:00
command.rs Enable clippy::useless_conversion (#8767) 2024-03-03 10:22:55 -05:00
editor_events.rs Introduce InlineCompletionProvider (#9777) 2024-03-26 13:28:06 +01:00
insert.rs vim: Keep multi-cursor on escape (#8464) 2024-02-26 22:54:02 -07:00
mode_indicator.rs vim: Fix some problems with visual mode testing (#8461) 2024-02-26 20:15:27 -07:00
motion.rs Fix vim code working on display map chars (#10103) 2024-04-02 22:16:52 -06:00
normal.rs Fix vim code working on display map chars (#10103) 2024-04-02 22:16:52 -06:00
object.rs Fix vim code working on display map chars (#10103) 2024-04-02 22:16:52 -06:00
replace.rs vim: Add Multi Replace mode in Vim (#8469) 2024-03-14 20:31:53 -06:00
state.rs Remove Copy trait for enum Operator (#9378) 2024-03-14 22:20:55 -06:00
test.rs vim: Avoid removing keymap context when blurred (#9960) 2024-04-01 16:43:14 -06:00
utils.rs Compute scrollbar markers asynchronously (#10080) 2024-04-03 12:21:17 +02:00
vim.rs vim: Avoid removing keymap context when blurred (#9960) 2024-04-01 16:43:14 -06:00
visual.rs vim: Fix t operand not working correctly when cursor is on tag (#9899) 2024-03-28 10:16:54 +01:00