From f63aba4fbd9894efb585f07f52a9a94edd49a891 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Fri, 23 Oct 2015 23:19:42 +1100 Subject: Add a menu command to ScintillaTest to add or remove an extra Scintilla view on the right of the window to allow testing deletion of a ScintillaView. --- cocoa/ScintillaTest/AppController.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cocoa/ScintillaTest/AppController.h') diff --git a/cocoa/ScintillaTest/AppController.h b/cocoa/ScintillaTest/AppController.h index 6025f6a50..6fb4dac68 100644 --- a/cocoa/ScintillaTest/AppController.h +++ b/cocoa/ScintillaTest/AppController.h @@ -15,10 +15,13 @@ @interface AppController : NSObject { IBOutlet NSBox *mEditHost; ScintillaView* mEditor; + ScintillaView* sciExtra; // For testing Scintilla tear-down + NSString* sql; } - (void) awakeFromNib; - (void) setupEditor; - (IBAction) searchText: (id) sender; +- (IBAction) addRemoveExtra: (id) sender; @end -- cgit v1.2.3