Skip to content

Commit 364bb1e

Browse files
committed
Remove unused codes.
1 parent 9c99034 commit 364bb1e

File tree

5 files changed

+0
-65
lines changed

5 files changed

+0
-65
lines changed

SCXcodeSwitchExpander.xcodeproj/project.pbxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
18A1B48018DDA742007CA06A /* IDEFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IDEFoundation.framework; path = ../../../../Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework; sourceTree = "<group>"; };
4444
18ECEB5518D267A0005F6C59 /* DVTTextCompletionController+SCXcodeSwitchExpander.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DVTTextCompletionController+SCXcodeSwitchExpander.h"; sourceTree = "<group>"; };
4545
18ECEB5618D267A0005F6C59 /* DVTTextCompletionController+SCXcodeSwitchExpander.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DVTTextCompletionController+SCXcodeSwitchExpander.m"; sourceTree = "<group>"; };
46-
B107DD4D1CBBCBE7009D65E7 /* IDEWorkspaceWindowController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IDEWorkspaceWindowController.h; sourceTree = "<group>"; };
47-
B107DD4E1CBBCC94009D65E7 /* IDEEditorArea.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IDEEditorArea.h; sourceTree = "<group>"; };
48-
B107DD4F1CBBCD14009D65E7 /* IDEEditorContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IDEEditorContext.h; sourceTree = "<group>"; };
4946
B150FD881CBBD7D200DFE4D8 /* DVTTextCompletionSession+SCXcodeSwitchExpander.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DVTTextCompletionSession+SCXcodeSwitchExpander.h"; sourceTree = "<group>"; };
5047
B150FD891CBBD7D200DFE4D8 /* DVTTextCompletionSession+SCXcodeSwitchExpander.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DVTTextCompletionSession+SCXcodeSwitchExpander.m"; sourceTree = "<group>"; };
5148
B18173D61CBB91E400995105 /* DVTSourceCodeLanguage+SCXCodeSwitchExpander.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DVTSourceCodeLanguage+SCXCodeSwitchExpander.h"; sourceTree = "<group>"; };
@@ -83,16 +80,13 @@
8380
B18173DA1CBB958300995105 /* DVTTextStorage.h */,
8481
185293151B085C4200A2E2C7 /* DVTViewController.h */,
8582
0144D99F1B06F9F00012D7A2 /* IDEEditor.h */,
86-
B107DD4E1CBBCC94009D65E7 /* IDEEditorArea.h */,
87-
B107DD4F1CBBCD14009D65E7 /* IDEEditorContext.h */,
8883
0144D9B11B06FBD30012D7A2 /* IDEFileTextSettings.h */,
8984
0144D9A01B06F9F00012D7A2 /* IDEIndex.h */,
9085
0144D9A11B06F9F00012D7A2 /* IDEIndexCollection.h */,
9186
0144D9A21B06F9F00012D7A2 /* IDEIndexCompletionItem.h */,
9287
0144D9A31B06F9F00012D7A2 /* IDEIndexContainerSymbol.h */,
9388
0144D9A61B06F9F00012D7A2 /* IDEIndexSymbol.h */,
9489
B1F83C551CB9090F00843242 /* IDEWorkspace.h */,
95-
B107DD4D1CBBCBE7009D65E7 /* IDEWorkspaceWindowController.h */,
9690
);
9791
path = "Xcode Headers";
9892
sourceTree = "<group>";

SCXcodeSwitchExpander/SCXcodeSwitchExpander.m

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
#import "SCXcodeSwitchExpander.h"
1010
#import "IDEIndex.h"
1111
#import "IDEEditor.h"
12-
#import "IDEEditorArea.h"
13-
#import "IDEEditorContext.h"
1412
#import "IDEFileTextSettings.h"
1513
#import "IDEWorkspace.h"
16-
#import "IDEWorkspaceWindowController.h"
1714

1815
static SCXcodeSwitchExpander *sharedExpander = nil;
1916

@@ -63,15 +60,4 @@ - (void)indexDidChange:(NSNotification *)sender NS_UNAVAILABLE
6360
{
6461
}
6562

66-
- (IDEWorkspace *)currentWorkspace
67-
{
68-
NSWindowController *currentWindowController = [[NSApp keyWindow] windowController];
69-
if ([currentWindowController isKindOfClass:[IDEWorkspaceWindowController class]]) {
70-
return [(IDEWorkspaceWindowController*)currentWindowController editorArea].lastActiveEditorContext.workspace;
71-
}
72-
else {
73-
return nil;
74-
}
75-
}
76-
7763
@end

SCXcodeSwitchExpander/Xcode Headers/IDEEditorArea.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

SCXcodeSwitchExpander/Xcode Headers/IDEEditorContext.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

SCXcodeSwitchExpander/Xcode Headers/IDEWorkspaceWindowController.h

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)