From 01fd0bed61eaa3ea3be6c5992bfe749aec090f9c Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 16 Jul 2009 13:58:27 +0000 Subject: =?UTF-8?q?=E2=80=A2=20rewrote=20=E2=8C=98/=20"comment=20line"=20c?= =?UTF-8?q?ompletely=20-=20=E2=8C=98/=20(un)comment=20current=20line=20onl?= =?UTF-8?q?y=20if=20no=20selection=20is=20given=20(by=20using=20"--=20")?= =?UTF-8?q?=20--=20caret=20jumps=20to=20the=20next=20line=20to=20(un)comme?= =?UTF-8?q?nt=20lines=20quickly=20--=20#=20sign=20will=20be=20recognized?= =?UTF-8?q?=20for=20uncommenting=20as=20well=20as=20if=20the=20entire=20li?= =?UTF-8?q?ne=20is=20wrapped=20into=20/*=20*/=20-=20=E2=8C=98/=20(un)comme?= =?UTF-8?q?nt=20current=20selection=20(by=20wrapping=20it=20into=20/*=20*/?= =?UTF-8?q?)=20--=20it=20(un)escapes=20present=20*/=20into=20*\/=20automat?= =?UTF-8?q?ically=20-=20=E2=8C=A5=E2=8C=98/=20(un)comment=20the=20current?= =?UTF-8?q?=20query=20(by=20wrapping=20it=20into=20/*=20*/)=20--=20the=20G?= =?UTF-8?q?UI=20element=20will=20be=20found=20in=20the=20Gear=20Menu=20by?= =?UTF-8?q?=20pressing=20=E2=8C=A5=20=E2=80=A2=20added=20shortcut=20?= =?UTF-8?q?=E2=8C=AB=20to=20Table=20Content's=20"Delete=20selected=20row(s?= =?UTF-8?q?)"=20tooltip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CustomQuery.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/CustomQuery.h') 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; -- cgit v1.2.3