aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}