aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-05-28 08:44:32 +0000
committerBibiko <bibiko@eva.mpg.de>2009-05-28 08:44:32 +0000
commit1f708a13801b64299effcf6cf3df7b2224ba2e6e (patch)
tree703d1cb1a676188ddc4a0e9d2fd4038309025568 /Source/CustomQuery.m
parentfe6c62fc6db9e8dd39875cfd12f4e5beed70560e (diff)
downloadsequelpro-1f708a13801b64299effcf6cf3df7b2224ba2e6e.tar.gz
sequelpro-1f708a13801b64299effcf6cf3df7b2224ba2e6e.tar.bz2
sequelpro-1f708a13801b64299effcf6cf3df7b2224ba2e6e.zip
• fixed dependence in showHelpForCurrentWord: to allow to invoke the help (Context Menu or ^H) from any CMTextView (e.g. from create syntax view in Table Info as well)
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 6bede294..2fb13265 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1534,7 +1534,7 @@
*/
- (IBAction)showHelpForCurrentWord:(id)sender
{
- NSString *searchString = [[textView string] substringWithRange:[textView getRangeForCurrentWord]];
+ NSString *searchString = [[sender string] substringWithRange:[sender getRangeForCurrentWord]];
[self showHelpFor:searchString addToHistory:YES];
}