mirror of
https://github.com/textmate/textmate.git
synced 2026-01-20 20:27:59 -05:00
Opening folders is added to recent menu
This behavior was lost while reworking the document window class, closes #701.
This commit is contained in:
@@ -2000,6 +2000,7 @@ static NSUInteger DisableSessionSavingCount = 0;
|
||||
void show_browser (std::string const& path) const
|
||||
{
|
||||
std::string const folder = path::resolve(path);
|
||||
[[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:[NSURL fileURLWithPath:[NSString stringWithCxxString:folder]]];
|
||||
|
||||
for(DocumentController* candidate in SortedControllers())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user