fix: stop hiding cached gutter markers while edits refresh
This commit is contained in:
+2
-3
@@ -4932,9 +4932,8 @@ impl Editor {
|
||||
return None;
|
||||
}
|
||||
let changes = self.active.gutter_changes.as_ref()?;
|
||||
if changes.revision != self.active.text_revision
|
||||
|| Some(changes.path.as_path()) != self.path()
|
||||
{
|
||||
// Keep the last completed markers visible while the worker recomputes after edits.
|
||||
if Some(changes.path.as_path()) != self.path() {
|
||||
return None;
|
||||
}
|
||||
changes.lines.get(row).copied().flatten()
|
||||
|
||||
Reference in New Issue
Block a user