mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Clear search marks from documents if removed from search results
This commit is contained in:
@@ -510,6 +510,9 @@ NSString* const FFFindWasTriggeredByEnter = @"FFFindWasTriggeredByEnter";
|
||||
}
|
||||
}
|
||||
|
||||
if(document::document_ptr doc = item.document)
|
||||
doc->remove_all_marks(kSearchMarkIdentifier);
|
||||
|
||||
[self addResultsToPasteboard:self];
|
||||
|
||||
NSString* fmt = MSG_SHOWING_ZERO_MATCHES_FMT;
|
||||
|
||||
Reference in New Issue
Block a user