diff options
author | Teddy Wing | 2023-09-09 20:46:13 +0200 |
---|---|---|
committer | Teddy Wing | 2023-09-09 20:46:13 +0200 |
commit | cfe5c30df32bca2a098c683ddf69ad8a78ed305d (patch) | |
tree | ef314f190c96c00e9c9d1100645a86270039591b /src/AppDelegate.m | |
parent | 70a98332cba2a71fe6ffb109e40877bf48e89386 (diff) | |
download | Base-Windowed-Application-cfe5c30df32bca2a098c683ddf69ad8a78ed305d.tar.bz2 |
Clean up "Find" menu tests
* Remove the `NSTextFinder` code as it's not necessary to get a find bar
for an `NSTextView`.
* Remove the commented notes for the "Find" menu.
Diffstat (limited to 'src/AppDelegate.m')
-rw-r--r-- | src/AppDelegate.m | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/AppDelegate.m b/src/AppDelegate.m index 3df04e0..b164b30 100644 --- a/src/AppDelegate.m +++ b/src/AppDelegate.m @@ -8,7 +8,6 @@ [_window release]; [_scroll_view release]; [_text_view release]; - // [_text_finder release]; [super dealloc]; } @@ -46,10 +45,6 @@ [[_window contentView] addSubview:_scroll_view]; // [_window setContentView:_text_view]; - - // _text_finder = [[NSTextFinder alloc] init]; - // [_text_finder setClient:(id<NSTextFinderClient>)_text_view]; - // [_text_finder setFindBarContainer:_scroll_view]; } - (void)applicationDidFinishLaunching:(NSNotification *)notification @@ -58,10 +53,4 @@ [_window makeKeyAndOrderFront:nil]; } -// - (IBAction)performTextFinderAction:(id)sender -// { -// NSLog(@"performTextFinderAction: performing %ld", [sender tag]); -// [_text_finder performAction:[sender tag]]; -// } - @end |