Scope line layout cache to each window (#7235)

This improves a performance problem we were observing when having
multiple windows updating at the same time, where each window would
invalidate the other window's layout cache.

Release Notes:

- Improved performance when having multiple Zed windows open.

Co-authored-by: Max Brunsfeld <max@zed.dev>
a0b52cc69aAntonio Scandurra committed on 2/2/2024, 5:11:20 PM· committed by GitHubparent5360c0e
5 files changedLine totals unavailable