diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-01-25 14:44:00 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-01-25 14:44:00 +0000 |
commit | fcc453852ad3693590d42fedfe5280e74948cd0b (patch) | |
tree | c5adece69674488b3eac311c0c3fd49770522854 /Source/CMTextView.h | |
parent | aca8fe1c4b23148e21d38f1e06969510bb9a8257 (diff) | |
download | sequelpro-fcc453852ad3693590d42fedfe5280e74948cd0b.tar.gz sequelpro-fcc453852ad3693590d42fedfe5280e74948cd0b.tar.bz2 sequelpro-fcc453852ad3693590d42fedfe5280e74948cd0b.zip |
• further improvements to allow to insert programmable query favorites (as snippets) - not yet finished but workable eg fav:
"SELECT ${1:`mysql`.`user`.} FROM ${2:`mysql`.`user`} ${3:WHERE}" bound to tab trigger "sel"; then write "sel" press ⇥ to expand, change `mysql`.`user`. or press ESC to insert a field, press ⇥ to select `mysql`.`user`to change if desired, etc. or press ⇧⇥ to select prev. snippet
• completion can now be invoked via selection
- some other tiny improvements
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r-- | Source/CMTextView.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h index 137c5348..ab7ed1af 100644 --- a/Source/CMTextView.h +++ b/Source/CMTextView.h @@ -59,8 +59,9 @@ static inline void NSMutableAttributedStringAddAttributeValueRange (NSMutableAtt MCPConnection *mySQLConnection; NSInteger mySQLmajorVersion; - NSInteger snippetControlArray[20][2]; + NSInteger snippetControlArray[20][3]; NSInteger snippetControlCounter; + NSInteger snippetControlMax; NSInteger currentSnippetIndex; BOOL snippetWasJustInserted; |