// Portions of code from
// https://github.com/MellongLau/AMMethod2Implement
// MIT license
#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
@interface DVTTextPreferences : NSObject
+ (id)preferences;
@property BOOL trimWhitespaceOnlyLines;
@property BOOL trimTrailingWhitespace;
@property BOOL useSyntaxAwareIndenting;
@end
@interface DVTSourceTextStorage : NSTextStorage
- (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string withUndoManager:(id)undoManager;
- (NSRange)lineRangeForCharacterRange:(NSRange)range;
- (NSRange)characterRangeForLineRange:(NSRange)range;
- (void)indentCharacterRange:(NSRange)range undoManager:(id)undoManager;
@end
@interface DVTFileDataType : NSObject
@property (readonly) NSString *identifier;
@end
@interface DVTFilePath : NSObject
@property (readonly) NSURL *fileURL;
@property (readonly) DVTFileDataType *fileDataTypePresumed;
@end
@interface IDEContainerItem : NSObject
@property (readonly) DVTFilePath *resolvedFilePath;
@end
@interface IDEGroup : IDEContainerItem
@end
@interface IDEFileReference : IDEContainerItem
@end
@interface IDENavigableItem : NSObject
@property (readonly) IDENavigableItem *parentItem;
@property (readonly) id representedObject;
@end
@interface IDEFileNavigableItem : IDENavigableItem
@property (readonly) DVTFileDataType *documentType;
@property (readonly) NSURL *fileURL;
@end
@interface IDEStructureNavigator : NSObject
@property (retain) NSArray *selectedObjects;
@end
@interface IDENavigableItemCoordinator : NSObject
- (id)structureNavigableItemForDocumentURL:(id)arg1 inWorkspace:(id)arg2 error:(id *)arg3;
@end
@interface IDENavigatorArea : NSObject
- (id)currentNavigator;
@end
@interface IDEWorkspaceTabController : NSObject
@property (readonly) IDENavigatorArea *navigatorArea;
@end
@interface IDEDocumentController : NSDocumentController
+ (id)editorDocumentForNavigableItem:(id)arg1;
+ (id)retainedEditorDocumentForNavigableItem:(id)arg1 error:(id *)arg2;
+ (void)releaseEditorDocument:(id)arg1;
@end
@interface IDESourceCodeDocument : NSDocument
- (DVTSourceTextStorage *)textStorage;
- (NSUndoManager *)undoManager;
@end
@interface IDESourceCodeComparisonEditor : NSObject
@property (readonly) NSTextView *keyTextView;
@property (retain) NSDocument *primaryDocument;
@end
@interface IDESourceCodeEditor : NSObject
@property (retain) NSTextView *textView;
- (IDESourceCodeDocument *)sourceCodeDocument;
@end
@interface IDEEditorContext : NSObject
- (id)editor; // returns the current editor. If the editor is the code editor, the class is `IDESourceCodeEditor`
@end
@interface IDEEditorArea : NSObject
- (IDEEditorContext *)lastActiveEditorContext;
@end
@interface IDEWorkspaceWindowController : NSObject
@property (readonly) IDEWorkspaceTabController *activeWorkspaceTabController;
- (IDEEditorArea *)editorArea;
@end
@interface IDEWorkspace : NSObject
@property (readonly) DVTFilePath *representingFilePath;
@end
@interface IDEWorkspaceDocument : NSDocument
@property (readonly) IDEWorkspace *workspace;
@end
@interface P4XcodeHelper : NSObject
+ (NSURL*)currentProjectURL;
+ (IDEWorkspaceDocument *)currentWorkspaceDocument;
+ (IDESourceCodeDocument *)currentSourceCodeDocument;
@end
# |
Change |
User |
Description |
Committed |
|
#3
|
13723 |
Jaime Rios |
Fixed problem with menu items not being created because mainMenu is not available at startup for Xcode 6.3.2. |
|
|
#2
|
13687 |
Jaime Rios |
Added Xcode 6.3.2 support; minor editing changes; fixes for Swift compiler errors. |
|
|
#1
|
11694 |
Jaime Rios |
Initial add of XcodePerforcePlugin project to guest depot. |
|
|