aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CustomQuery.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 39f961c6..05eed36f 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -57,6 +57,7 @@
[self performQueries:queries];
// Invoke textStorageDidProcessEditing: for syntax highlighting and auto-uppercase
+ [textView setSelectedRange:NSMakeRange(0,0)];
[textView insertText:@""];
// Select the text of the query textView for re-editing