mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Don’t go via buffer_t to remove document marks
The document will post a “marks did change” notification, so we can remove our local notification posting.
This commit is contained in:
@@ -931,8 +931,7 @@ private:
|
||||
|
||||
- (void)clearAllBookmarks:(id)sender
|
||||
{
|
||||
document->buffer().remove_all_marks(document::kBookmarkIdentifier);
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:GVColumnDataSourceDidChange object:self];
|
||||
document->remove_all_marks(document::kBookmarkIdentifier);
|
||||
}
|
||||
|
||||
// ========================
|
||||
|
||||
Reference in New Issue
Block a user