diff options
Diffstat (limited to 'Source/SPTextViewAdditions.m')
-rw-r--r-- | Source/SPTextViewAdditions.m | 2 |
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]) |