mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user