diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-08 13:02:05 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-08 13:02:05 +0000 |
commit | 7f8b4675de74f7b43057d21d445f0ddca59f95b8 (patch) | |
tree | 69402383bf87177e40d58a0824f6721be226e96b /Source/SPNarrowDownCompletion.h | |
parent | c10728213ede7dbdd37493aca9657ab4010edbdc (diff) | |
download | sequelpro-7f8b4675de74f7b43057d21d445f0ddca59f95b8.tar.gz sequelpro-7f8b4675de74f7b43057d21d445f0ddca59f95b8.tar.bz2 sequelpro-7f8b4675de74f7b43057d21d445f0ddca59f95b8.zip |
• outsourced keyword completion and function completion lists to CompletionTokens.plist
• SPQueryController manages keyword and function completion lists now; this reduces the memory usage a bit and the list is easier to edit
• added pre-defined function argument snippets to CompletionTokens.plist (auto-generated from mysql's HELP)
• added Preference option for Editor whether a function completion should insert () and if found the function argument snippets automatically or not
- last ) will be linked as autopaired then
• changed behaviour for wrapping a selection into `"'() etc. - now it re-selects the original selection after wrapping and in addition last wrap character is now marked as autopair-linked
• improved logic for popping up the auto-completion list
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r-- | Source/SPNarrowDownCompletion.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h index 6901ffa1..743f7cc5 100644 --- a/Source/SPNarrowDownCompletion.h +++ b/Source/SPNarrowDownCompletion.h @@ -62,6 +62,9 @@ NSInteger spaceCounter; NSMutableCharacterSet* textualInputCharacters; + + NSUserDefaults *prefs; + } - (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix |