aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-05-24 13:47:57 +0000
committerBibiko <bibiko@eva.mpg.de>2009-05-24 13:47:57 +0000
commit99e4d0223293aee1acd6b4196263385a9e6a7ecc (patch)
tree0cc5a471811fbc1853cae2a088bee750f0876266 /Source/CustomQuery.m
parent5e2eb0be79f6f572724132f8be88069f8daac926 (diff)
downloadsequelpro-99e4d0223293aee1acd6b4196263385a9e6a7ecc.tar.gz
sequelpro-99e4d0223293aee1acd6b4196263385a9e6a7ecc.tar.bz2
sequelpro-99e4d0223293aee1acd6b4196263385a9e6a7ecc.zip
• activate Preference setting for caret color
• added prototype for new completion (ESC -> Cocoa, F5 -> new completion) - not yet finished - TODO: -- support for NSSpellChecker items -- images for different types of suggestions like proc/func/tabkle/view/sql statement, db name, etc.
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 32069bb8..7fa6ac00 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -934,7 +934,8 @@
[textView setFont:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:@"CustomQueryEditorFont"]]];
[textView setBackgroundColor:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:@"CustomQueryEditorBackgroundColor"]]];
[textView setTextColor:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:@"CustomQueryEditorTextColor"]]];
-
+ [textView setInsertionPointColor:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:@"CustomQueryEditorCaretColor"]]];
+
[customQueryView setVerticalMotionCanBeginDrag:NO];
[textView setContinuousSpellCheckingEnabled:NO];
[autoindentMenuItem setState:([prefs boolForKey:@"CustomQueryAutoIndent"]?NSOnState:NSOffState)];