zed/crates/editor
Piotr Osiewicz 282184a673
editor: Use inclusive ranges for git diff resolution. (#3999)
The culprit was in display map which was resolving next valid point for
the editor, without regard for whether that point belongs to the same excerpt. We now make an end point a minimum of the end point passed in and the start of excerpt header, if there are any. 
This bug existed in Zed1 as well.

Fixes: Diff markers in multibuffer search overlap with dividers between
excepts (shouldn't extend all the way into the divider region)


Release Notes:
- Fixed diff markers being drawn incorrectly near headers in multibuffer
views.
2024-01-10 18:11:05 +01:00
..
src editor: Use inclusive ranges for git diff resolution. (#3999) 2024-01-10 18:11:05 +01:00
Cargo.toml Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00