aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-07-16 13:58:27 +0000
committerBibiko <bibiko@eva.mpg.de>2009-07-16 13:58:27 +0000
commit01fd0bed61eaa3ea3be6c5992bfe749aec090f9c (patch)
treed4e87b5a06cf8504073539e9e9338a095bf96745 /Source/CustomQuery.h
parentb9a52df3071aba89d4e34410d58af56b0cea61ff (diff)
downloadsequelpro-01fd0bed61eaa3ea3be6c5992bfe749aec090f9c.tar.gz
sequelpro-01fd0bed61eaa3ea3be6c5992bfe749aec090f9c.tar.bz2
sequelpro-01fd0bed61eaa3ea3be6c5992bfe749aec090f9c.zip
• rewrote ⌘/ "comment line" completely
- ⌘/ (un)comment current line only if no selection is given (by using "-- ") -- caret jumps to the next line to (un)comment lines quickly -- # sign will be recognized for uncommenting as well as if the entire line is wrapped into /* */ - ⌘/ (un)comment current selection (by wrapping it into /* */) -- it (un)escapes present */ into *\/ automatically - ⌥⌘/ (un)comment the current query (by wrapping it into /* */) -- the GUI element will be found in the Gear Menu by pressing ⌥ • added shortcut ⌫ to Table Content's "Delete selected row(s)" tooltip
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index 9d6ea2df..47be44c7 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -63,7 +63,8 @@
IBOutlet NSMenuItem *autopairMenuItem;
IBOutlet NSMenuItem *autohelpMenuItem;
IBOutlet NSMenuItem *autouppercaseKeywordsMenuItem;
- IBOutlet NSMenuItem *commentCurrentQueryOrSelectionMenuItem;
+ IBOutlet NSMenuItem *commentCurrentQueryMenuItem;
+ IBOutlet NSMenuItem *commentLineOrSelectionMenuItem;
IBOutlet NSWindow *helpWebViewWindow;
IBOutlet WebView *helpWebView;
@@ -149,7 +150,8 @@
- (void)setFavorites;
- (void)doPerformQueryService:(NSString *)query;
- (void)selectCurrentQuery;
-- (void)commentOutQuery;
+- (void)commentOut;
+- (void)commentOutCurrentQueryTakingSelection:(BOOL)takeSelection;
- (NSString *)usedQuery;
- (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn;