diff options
author | Bibiko <bibiko@eva.mpg.de> | 2012-01-05 19:03:06 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2012-01-05 19:03:06 +0000 |
commit | a7ad078dba900161a6f686608fbd015658323de3 (patch) | |
tree | 39b335f44ff1462c2b658315be90e39e5c16113e /Source/SPCustomQuery.m | |
parent | 57038f69654481ed424d6b81ec8b268f2ad4a3bf (diff) | |
download | sequelpro-a7ad078dba900161a6f686608fbd015658323de3.tar.gz sequelpro-a7ad078dba900161a6f686608fbd015658323de3.tar.bz2 sequelpro-a7ad078dba900161a6f686608fbd015658323de3.zip |
• fixed issue for line numbering view if associated textView is scrolled from origin {0,0}; now it's synchronized
• minor speed ups for custom query editor
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 63ba3bab..6aeca55a 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -2677,7 +2677,7 @@ currentQueryRange = NSMakeRange(0, 0); [textView setQueryRange:qRange]; - [textView setNeedsDisplay:YES]; + [textView setNeedsDisplayInRect:[textView bounds]]; // disable "Comment Current Query" menu item if no current query is selectable [commentCurrentQueryMenuItem setEnabled:(currentQueryRange.length) ? YES : NO]; |