mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Allow passing nil to didTouchDocument:
This commit is contained in:
@@ -267,6 +267,9 @@ namespace
|
||||
|
||||
- (void)didTouchDocument:(OakDocument*)aDocument
|
||||
{
|
||||
if(!aDocument)
|
||||
return;
|
||||
|
||||
[self setupRankedPaths];
|
||||
if(aDocument.path)
|
||||
_rankedPaths[aDocument.path] = @(++_lastLRURank);
|
||||
|
||||
Reference in New Issue
Block a user