aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-07 22:10:11 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-07 22:10:11 +0000
commitf541505474502acb111756c0ab6160d541ac5903 (patch)
tree808729861e129d3a252a6cc38ee7ba2b8604c03c /Source
parentaa670c20e0752df9b71395eb0c8e8ca9343a3b33 (diff)
downloadsequelpro-f541505474502acb111756c0ab6160d541ac5903.tar.gz
sequelpro-f541505474502acb111756c0ab6160d541ac5903.tar.bz2
sequelpro-f541505474502acb111756c0ab6160d541ac5903.zip
• FIXED in runAllQueries: deselect a given selection before calling textStorageDidProcessEditing: to avoid the deletion of a given selection
Diffstat (limited to 'Source')
-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