diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-05-28 08:44:32 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-05-28 08:44:32 +0000 |
commit | 1f708a13801b64299effcf6cf3df7b2224ba2e6e (patch) | |
tree | 703d1cb1a676188ddc4a0e9d2fd4038309025568 | |
parent | fe6c62fc6db9e8dd39875cfd12f4e5beed70560e (diff) | |
download | sequelpro-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)
-rw-r--r-- | Source/CustomQuery.m | 2 |
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]; } |