Make rename highlights work across multibuffer excerpts
Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
ff4bdb3114
commit
f6805eb802
9 changed files with 110 additions and 45 deletions
|
@ -278,7 +278,8 @@ impl ProjectDiagnosticsEditor {
|
|||
prev_excerpt_id = excerpt_id.clone();
|
||||
first_excerpt_id.get_or_insert_with(|| prev_excerpt_id.clone());
|
||||
group_state.excerpts.push(excerpt_id.clone());
|
||||
let header_position = (excerpt_id.clone(), language::Anchor::min());
|
||||
let header_position =
|
||||
(excerpt_id.clone(), language::Anchor::build_min());
|
||||
|
||||
if is_first_excerpt_for_group {
|
||||
is_first_excerpt_for_group = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue