From 0e4ca36991a319d001c26df3fc92f327d6fe091b Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 25 Mar 2010 15:29:32 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20the=20type=20info=20display=20of=20?= =?UTF-8?q?fields=20in=20the=20auto-completion=20list=20due=20the=20change?= =?UTF-8?q?d=20queried=20structure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CMTextView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/CMTextView.m') diff --git a/Source/CMTextView.m b/Source/CMTextView.m index 3ea60174..72a43bcc 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -429,7 +429,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) for(id field in sortedFields) { if(![field hasPrefix:@" "]) { NSArray *def = [theTable objectForKey:field]; - NSString *typ = [NSString stringWithFormat:@"%@ %@ %@", [def objectAtIndex:0], [def objectAtIndex:1], [def objectAtIndex:2]]; + NSString *typ = [NSString stringWithFormat:@"%@ %@ %@", [def objectAtIndex:0], [def objectAtIndex:3], [def objectAtIndex:5]]; // Check if type definition contains a , if so replace the bracket content by … and add // the bracket content as "list" key to prevend the token field to split them by , if(typ && [typ rangeOfString:@","].length) { -- cgit v1.2.3