Unified · Split
| @@ -624,6 +624,7 @@ impl ProjectDiagnosticsEditor { · 623 unmodified lines | ||
| 624 | 624 | }); |
| 625 | 625 | }) |
| 626 | 626 | } |
| 627 | + let buffer_snapshot = buffer.read(cx).snapshot(); | |
| 627 | 628 | let excerpt_ranges: Vec<_> = excerpt_ranges |
| 628 | 629 | .into_iter() |
| 629 | 630 | .map(|range| ExcerptRange { |