fix: push resolved span to editor (#1194)

This commit is contained in:
Myriad-Dreamin 2025-01-19 18:49:01 +08:00 committed by GitHub
parent 40c176ccf6
commit 02a14c9cc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,7 +91,7 @@ impl RenderActor {
log::debug!("RenderActor: resolved WebviewResolveSpan: {spans:?}");
// end position is used
if let Some(spans) = spans {
self.resolve_span_range(spans.0..spans.1);
self.editor_resolve_span_range(spans.0..spans.1);
}
}
RenderActorRequest::ResolveSourceLoc(req) => {