aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r--Source/SPCustomQuery.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 27fc11c6..d4c540bb 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -1615,10 +1615,7 @@
*/
- (void)doPerformQueryService:(NSString *)query
{
- [textView shouldChangeTextInRange:NSMakeRange(0, [[textView string] length]) replacementString:query];
- [textView setString:query];
- [textView didChangeText];
- [textView scrollRangeToVisible:NSMakeRange([query length], 0)];
+ [self doPerformLoadQueryService:query];
[self runAllQueries:self];
}