aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-04 19:14:46 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-04 19:14:46 +0000
commit7ec65d2959ffd49ba9d3d9efccfa9aef766ec280 (patch)
treeab832c68b9a131e391cec24128b2321ebd654afc /Source/SPTextView.m
parentbf083baf5c0e6048b692656cf35fd94d7c652c60 (diff)
downloadsequelpro-7ec65d2959ffd49ba9d3d9efccfa9aef766ec280.tar.gz
sequelpro-7ec65d2959ffd49ba9d3d9efccfa9aef766ec280.tar.bz2
sequelpro-7ec65d2959ffd49ba9d3d9efccfa9aef766ec280.zip
• improved completion regarding leading '('
- this also improves alias parsing for parameter inside functions
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r--Source/SPTextView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index 570353f2..ec54f3a7 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -658,7 +658,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
while(start > 0 && doParsing) {
currentCharacter = [[self string] characterAtIndex:--start];
- if(!(backticksCounter%2) && ([whiteSpaceCharSet characterIsMember:currentCharacter] || currentCharacter == ',')) {
+ if(!(backticksCounter%2) && ([whiteSpaceCharSet characterIsMember:currentCharacter] || currentCharacter == ',' || currentCharacter == '(')) {
start++;
break;
}