mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 05:37:55 -05:00
For unknown reasons, the NSApplication object will not respond to this method, even though it should implement it.
53 lines
1.1 KiB
Objective-C
53 lines
1.1 KiB
Objective-C
namespace find_tags
|
|
{
|
|
enum
|
|
{
|
|
in_document = 1,
|
|
in_selection,
|
|
in_project,
|
|
in_folder,
|
|
};
|
|
}
|
|
|
|
@interface AppController : NSObject <NSMenuDelegate>
|
|
{
|
|
IBOutlet NSMenu* bundlesMenu;
|
|
IBOutlet NSMenu* themesMenu;
|
|
IBOutlet NSMenu* spellingMenu;
|
|
|
|
IBOutlet NSPanel* goToLinePanel;
|
|
IBOutlet NSTextField* goToLineTextField;
|
|
|
|
struct
|
|
{
|
|
std::string filter_string;
|
|
BOOL key_equivalent;
|
|
BOOL all_scopes;
|
|
int search_type;
|
|
} bundleItemSearch;
|
|
}
|
|
|
|
- (IBAction)orderFrontFindPanel:(id)sender;
|
|
|
|
- (IBAction)orderFrontGoToLinePanel:(id)sender;
|
|
- (IBAction)performGoToLine:(id)sender;
|
|
|
|
- (IBAction)showBundleItemChooser:(id)sender;
|
|
|
|
- (IBAction)showPreferences:(id)sender;
|
|
- (IBAction)showBundleEditor:(id)sender;
|
|
|
|
- (IBAction)newDocumentAndActivate:(id)sender;
|
|
- (IBAction)openDocumentAndActivate:(id)sender;
|
|
|
|
- (IBAction)runPageLayout:(id)sender;
|
|
@end
|
|
|
|
@interface AppController (Documents)
|
|
- (void)newDocument:(id)sender;
|
|
- (void)openDocument:(id)sender;
|
|
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*)sender;
|
|
@end
|
|
|
|
void OakOpenDocuments (NSArray* paths);
|