aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextViewAdditions.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-14 15:19:37 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-14 15:19:37 +0000
commit956bb607e5b74391129ab214eff9f5c83884538d (patch)
tree9338d5c7a9356b143197b44f546809a1692a05f5 /Source/SPTextViewAdditions.m
parent71394ef3837299457b1a5b65ff562c3be6985bba (diff)
downloadsequelpro-956bb607e5b74391129ab214eff9f5c83884538d.tar.gz
sequelpro-956bb607e5b74391129ab214eff9f5c83884538d.tar.bz2
sequelpro-956bb607e5b74391129ab214eff9f5c83884538d.zip
• Bundle support
- fixed updating of a Bundle with the same UUID - fixed issue of Output action "Replace Selection"
Diffstat (limited to 'Source/SPTextViewAdditions.m')
-rw-r--r--Source/SPTextViewAdditions.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m
index 3eeb46ce..f04c6684 100644
--- a/Source/SPTextViewAdditions.m
+++ b/Source/SPTextViewAdditions.m
@@ -553,7 +553,7 @@
if(!currentQueryRange.length)
currentQueryRange = currentSelectionRange;
- NSRange replaceRange = NSMakeRange(currentSelectionRange.location, 0);
+ NSRange replaceRange = currentSelectionRange;
if([inputAction isEqualToString:SPBundleInputSourceSelectedText]) {
if(!currentSelectionRange.length) {
if([inputFallBackAction isEqualToString:SPBundleInputSourceCurrentWord])