Introduce an optional primary
field to ExcerptRange
This commit is contained in:
parent
ffb75b0f02
commit
15b13fe511
4 changed files with 66 additions and 8 deletions
|
@ -351,6 +351,7 @@ impl ProjectDiagnosticsEditor {
|
|||
buffer.clone(),
|
||||
[ExcerptRange {
|
||||
context: excerpt_start..excerpt_end,
|
||||
primary: Some(range.clone()),
|
||||
}],
|
||||
excerpts_cx,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue