Emit an Edited event when ending, undoing or redoing a transaction

This commit is contained in:
Antonio Scandurra
2022-03-24 08:56:37 +01:00
parent a739c362d9
commit 87981bb2ab
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ impl FollowableItem for Editor {
fn should_unfollow_on_event(event: &Self::Event, _: &AppContext) -> bool {
match event {
// Event::BufferEdited { local } => *local,
Event::Edited => true,
Event::SelectionsChanged { local } => *local,
Event::ScrollPositionChanged { local } => *local,
_ => false,