mirror of
https://github.com/textmate/textmate.git
synced 2026-01-21 04:38:13 -05:00
Collapse two class extensions into one
This commit is contained in:
@@ -58,6 +58,8 @@ OAK_DEBUG_VAR(DocumentController);
|
||||
@property (nonatomic, retain) NSString* representedFile;
|
||||
@property (nonatomic, assign) BOOL isDocumentEdited;
|
||||
@property (nonatomic, retain) DocumentController* retainedSelf;
|
||||
@property (nonatomic, retain) OakFilterWindowController* filterWindowController;
|
||||
@property (nonatomic, retain) NSString* pathAttributes;
|
||||
- (id)initWithDocuments:(std::vector<document::document_ptr> const&)someDocuments;
|
||||
- (void)updateProxyIcon;
|
||||
- (void)takeTabsToTearOffFrom:(id)sender;
|
||||
@@ -118,11 +120,6 @@ OAK_DEBUG_VAR(DocumentController);
|
||||
|
||||
// ============================
|
||||
|
||||
@interface DocumentController ()
|
||||
@property (nonatomic, retain) OakFilterWindowController* filterWindowController;
|
||||
@property (nonatomic, retain) NSString* pathAttributes;
|
||||
@end
|
||||
|
||||
static document::document_ptr create_document (NSString* fileBrowserPath)
|
||||
{
|
||||
document::document_ptr doc = document::from_content("", settings_for_path(NULL_STR, file::path_attributes(NULL_STR), to_s(fileBrowserPath)).get(kSettingsFileTypeKey, "text.plain"));
|
||||
|
||||
Reference in New Issue
Block a user