From f541505474502acb111756c0ab6160d541ac5903 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 7 Apr 2009 22:10:11 +0000 Subject: =?UTF-8?q?=E2=80=A2=20FIXED=20in=20runAllQueries:=20deselect=20a?= =?UTF-8?q?=20given=20selection=20before=20calling=20textStorageDidProcess?= =?UTF-8?q?Editing:=20to=20avoid=20the=20deletion=20of=20a=20given=20selec?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CustomQuery.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/CustomQuery.m') 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 -- cgit v1.2.3