Add Find & Replace dialog box
[MacVim.git] / src / MacVim / MMFindReplaceController.h
blob59a7dc5ad334c2b107fba0a103d258dd6b059a20
1 /* vi:set ts=8 sts=4 sw=4 ft=objc:
3 * VIM - Vi IMproved by Bram Moolenaar
4 * MacVim GUI port by Bjorn Winckler
6 * Do ":help uganda" in Vim to read copying and usage conditions.
7 * Do ":help credits" in Vim to see a list of people who contributed.
8 * See README.txt for an overview of the Vim source code.
9 */
11 #import <Cocoa/Cocoa.h>
15 @interface MMFindReplaceController : NSWindowController {
16 IBOutlet NSTextField *findBox;
17 IBOutlet NSTextField *replaceBox;
18 IBOutlet NSButton *ignoreCaseButton;
19 IBOutlet NSButton *matchWordButton;
22 + (MMFindReplaceController *)sharedInstance;
24 - (void)showWithText:(NSString *)text flags:(int)flags;
25 - (NSString *)findString;
26 - (NSString *)replaceString;
27 - (BOOL)ignoreCase;
28 - (BOOL)matchWord;
29 @end