Reparse buffer on undo, redo and after applying a remote operation
This commit is contained in:
1 parent
fe8dc9fba0
commit
9836f1f638
1 file changed
+3
@@ -1025,6 +1025,7 @@ impl Buffer {
|
||||
ctx.notify();
|
||||
if self.edits_since(old_version).next().is_some() {
|
||||
self.did_edit(was_dirty, ctx);
|
||||
self.reparse(ctx);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1250,6 +1251,7 @@ impl Buffer {
|
||||
ctx.notify();
|
||||
if self.edits_since(old_version).next().is_some() {
|
||||
self.did_edit(was_dirty, ctx);
|
||||
self.reparse(ctx);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1276,6 +1278,7 @@ impl Buffer {
|
||||
ctx.notify();
|
||||
if self.edits_since(old_version).next().is_some() {
|
||||
self.did_edit(was_dirty, ctx);
|
||||
self.reparse(ctx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user