diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-04-27 21:28:38 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-04-27 21:28:38 +0000 |
commit | c69089a7abb022fc1e454ff2bf8297887b1fc2f1 (patch) | |
tree | 8cf424741725775908b4be64fcfed1a90ab8e10f /Source/CustomQuery.h | |
parent | 494226553237e2e19d882339180f8be26153eea4 (diff) | |
download | sequelpro-c69089a7abb022fc1e454ff2bf8297887b1fc2f1.tar.gz sequelpro-c69089a7abb022fc1e454ff2bf8297887b1fc2f1.tar.bz2 sequelpro-c69089a7abb022fc1e454ff2bf8297887b1fc2f1.zip |
• MySQL Help improved
- added help target (online, in current page, in MySQL help ⌥⌘O,P,M)
- GUI support for go back/forward (not yet implemented)
- ⌘G, ⇧⌘G for find next/prev in current page
- ⌘F selects search field; ⌘+ and ⌘- support
- online search is version sensitive
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r-- | Source/CustomQuery.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h index 4f8fd468..66c5e965 100644 --- a/Source/CustomQuery.h +++ b/Source/CustomQuery.h @@ -48,6 +48,10 @@ IBOutlet id copyQueryFavoriteButton; IBOutlet id runSelectionButton; IBOutlet id runAllButton; + IBOutlet id helpTargetPageButton; + IBOutlet id helpTargetOnlineButton; + IBOutlet id helpTargetMySQLButton; + IBOutlet NSMenuItem *runSelectionMenuItem; IBOutlet NSMenuItem *clearHistoryMenuItem; IBOutlet NSMenuItem *shiftLeftMenuItem; @@ -61,7 +65,8 @@ IBOutlet NSWindow *helpWebViewWindow; IBOutlet id helpWebView; IBOutlet NSSearchField *helpSearchField; - NSString *lastHelpString; + IBOutlet NSSearchFieldCell *helpSearchFieldCell; + IBOutlet NSSegmentedControl *helpNavigator; NSArray *queryResult; NSUserDefaults *prefs; @@ -70,8 +75,12 @@ CMMCPConnection *mySQLConnection; NSString *usedQuery; + NSString *mySQLversion; + int queryStartPosition; + int helpTarget; + } // IBAction methods @@ -83,8 +92,12 @@ - (IBAction)gearMenuItemSelected:(id)sender; - (IBAction)getHelpForCurrentWord:(id)sender; - (IBAction)showHelpForSearchString:(id)sender; -- (IBAction)showHelpContent:(id)sender; -- (IBAction)showLastHelp:(id)sender; +- (IBAction)helpSegmentDispachter:(id)sender; +- (IBAction)helpTargetPageButton:(id)sender; +- (IBAction)helpTargetOnlineButton:(id)sender; +- (IBAction)helpTargetMySQLButton:(id)sender; +- (IBAction)helpSearchFindNextInPage:(id)sender; +- (IBAction)helpSearchFindPreviousInPage:(id)sender; // queryFavoritesSheet methods @@ -105,6 +118,7 @@ // MySQL Help - (void)showHelpFor:(NSString *)aString; - (NSString *)getHTMLHelpFor:(NSString *)aString; +- (void)helpTargetValidation; // Other - (void)setConnection:(CMMCPConnection *)theConnection; |