From 7ec65d2959ffd49ba9d3d9efccfa9aef766ec280 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 4 Nov 2010 19:14:46 +0000 Subject: =?UTF-8?q?=E2=80=A2=20improved=20completion=20regarding=20leading?= =?UTF-8?q?=20'('=20-=20this=20also=20improves=20alias=20parsing=20for=20p?= =?UTF-8?q?arameter=20inside=20functions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTextView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPTextView.m') 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; } -- cgit v1.2.3