mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Simplify document open API
Removed the ability to specify wether documents should open in current window or a new window — all documents opened via this API will go through the same algorithm to find where the documents should end up (more choice is just adding confusion and complexity).
This commit is contained in:
@@ -124,7 +124,7 @@ OAK_DEBUG_VAR(HTMLOutput_JSBridge);
|
||||
range = text::pos_t([options intValue]-1, 0);
|
||||
else if([options isKindOfClass:[NSString class]])
|
||||
range = to_s((NSString*)options);
|
||||
document::show(document::create(to_s(path)), document::kCollectionCurrent, range);
|
||||
document::show(document::create(to_s(path)), document::kCollectionAny, range);
|
||||
}
|
||||
|
||||
- (id)system:(NSString*)aCommand handler:(id)aHandler
|
||||
|
||||
Reference in New Issue
Block a user