mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
added auto-complete keyword logic to main search window
This commit is contained in:
@@ -8,16 +8,12 @@
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "CustomTextField.h"
|
||||
#import "InfoWindowController.h"
|
||||
#import "VTInfoWindowController.h"
|
||||
|
||||
|
||||
|
||||
@interface SearchWindowController : NSWindowController
|
||||
|
||||
//automatically invoked when user presses 'Enter' in search box
|
||||
// ->search!
|
||||
-(IBAction)search:(id)sender;
|
||||
@interface SearchWindowController : NSWindowController <NSWindowDelegate>
|
||||
|
||||
//PROPERTIES
|
||||
|
||||
@@ -54,6 +50,14 @@
|
||||
//overlay view
|
||||
@property (weak) IBOutlet NSView *overlayView;
|
||||
|
||||
//flag for filter field (autocomplete)
|
||||
@property BOOL completePosting;
|
||||
|
||||
//flag for filter field (autocomplete)
|
||||
@property BOOL commandHandling;
|
||||
|
||||
//custom search field
|
||||
@property (nonatomic, retain)CustomTextField* customSearchField;
|
||||
|
||||
|
||||
/* METHODS */
|
||||
@@ -62,5 +66,8 @@
|
||||
// ->make sure everything is cleanly init'd
|
||||
-(void)prepare;
|
||||
|
||||
//search
|
||||
-(void)search;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user