Bump document revision after doing folder search and replace

Without this, the document would not appear as modified (if it wasn’t already).
This commit is contained in:
Allan Odgaard
2014-10-08 21:51:17 +02:00
parent 591876f3f2
commit 74ae2b21dd

View File

@@ -314,6 +314,7 @@ NSString* const FFFindWasTriggeredByEnter = @"FFFindWasTriggeredByEnter";
doc->undo_manager().begin_undo_group(editor->ranges());
editor->perform_replacements(replacements);
doc->undo_manager().end_undo_group(editor->ranges());
doc->set_revision(doc->buffer().revision());
}
else
{