diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-09 12:18:45 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-09 12:18:45 +0000 |
commit | 2006cf37271812027cdf5659308eec6ff095ed09 (patch) | |
tree | 59b6302eadd05216b9977953b0ebb76ff34a39be /Source/SPNarrowDownCompletion.m | |
parent | a896123760846a4e38c5061f335056ca8658d013 (diff) | |
download | sequelpro-2006cf37271812027cdf5659308eec6ff095ed09.tar.gz sequelpro-2006cf37271812027cdf5659308eec6ff095ed09.tar.bz2 sequelpro-2006cf37271812027cdf5659308eec6ff095ed09.zip |
• fixed bug in snippet list - now it inserts the chosen item correctly after narrow-down the list
• added chance to invoke the snippet list in fuzzy search mode by the template ¦¦a¦b¦¦
• added new snippet placeholders:
¦$SP_ASLIST_ALL_TABLES¦ displays a list of all tables incl. views from the current db
¦$SP_ASLIST_ALL_DATABASES¦ displays a list of all dbs from the current connection
This makes it possible to write eg a query fav:
USE ¦¦$SP_ASLIST_ALL_DATABASES¦¦;
to search via fuzzy mode for a db and to use it
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r-- | Source/SPNarrowDownCompletion.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m index 2651024a..d7ac8048 100644 --- a/Source/SPNarrowDownCompletion.m +++ b/Source/SPNarrowDownCompletion.m @@ -750,6 +750,7 @@ - (void)insert_text:(NSString* )aString { + [theView setSelectedRange:theCharRange]; [theView insertText:aString]; |