diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-25 15:29:32 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-25 15:29:32 +0000 |
commit | 0e4ca36991a319d001c26df3fc92f327d6fe091b (patch) | |
tree | 713f21046ae4badcdcd967225a955b13a24b63b0 /Source/CMTextView.m | |
parent | 8d055c6df1d1590f97bd9e7c4834c05c706f27b7 (diff) | |
download | sequelpro-0e4ca36991a319d001c26df3fc92f327d6fe091b.tar.gz sequelpro-0e4ca36991a319d001c26df3fc92f327d6fe091b.tar.bz2 sequelpro-0e4ca36991a319d001c26df3fc92f327d6fe091b.zip |
• fixed the type info display of fields in the auto-completion list due the changed queried structure
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r-- | Source/CMTextView.m | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |