aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-09 08:39:13 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-09 08:39:13 +0000
commitaa0a178df3316777c001c59e03c534cfa537b365 (patch)
tree48fd04e1c7b26c543de4fcb3a002eb7afbf00462 /Source/CMTextView.m
parentc0aa273646ad4b6be2d1c47a6e9d4fa67a9c59b9 (diff)
downloadsequelpro-aa0a178df3316777c001c59e03c534cfa537b365.tar.gz
sequelpro-aa0a178df3316777c001c59e03c534cfa537b365.tar.bz2
sequelpro-aa0a178df3316777c001c59e03c534cfa537b365.zip
• fixed some minor GUI issues for SPNarrowDownCompletion window
- added oneColumn mode for dict and list view to decrease the window's width
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index b21b65ee..2cdf2808 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -697,7 +697,8 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
withTableName:tableName
selectedDb:currentDb
caretMovedLeft:caretMovedLeft
- autoComplete:autoCompleteMode];
+ autoComplete:autoCompleteMode
+ oneColumn:isDictMode];
//Get the NSPoint of the first character of the current word
NSRange glyphRange = [[self layoutManager] glyphRangeForCharacterRange:NSMakeRange(completionRange.location,1) actualCharacterRange:NULL];
@@ -1130,7 +1131,8 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
withTableName:@""
selectedDb:@""
caretMovedLeft:NO
- autoComplete:NO];
+ autoComplete:NO
+ oneColumn:YES];
//Get the NSPoint of the first character of the current word
NSRange glyphRange = [[self layoutManager] glyphRangeForCharacterRange:NSMakeRange(r2.location,1) actualCharacterRange:NULL];