diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-04 14:39:48 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-04 14:39:48 +0000 |
commit | fbe74f1a65b511f79b07b5e6a91479593a0e17bb (patch) | |
tree | 2df00b515ea763042c96fc86ea8b2673fa71e7eb /Source/SPCustomQuery.m | |
parent | efc5a0e98e86838300426606e8e649bdb96f68f6 (diff) | |
download | sequelpro-fbe74f1a65b511f79b07b5e6a91479593a0e17bb.tar.gz sequelpro-fbe74f1a65b511f79b07b5e6a91479593a0e17bb.tar.bz2 sequelpro-fbe74f1a65b511f79b07b5e6a91479593a0e17bb.zip |
• started to implement auto-completion for aliases
- first sketch should work for 90% of all cases - fine-tuning will follow soon
- this follows issue 880
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 6eb07277..f81b9750 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -3249,6 +3249,14 @@ return numberOfQueries; } +/** + * Returns the range of the current active query. + */ +- (NSRange)currentQueryRange +{ + return currentQueryRange; +} + - (NSString *)buildHistoryString { return [[[SPQueryController sharedQueryController] historyForFileURL:[tableDocumentInstance fileURL]] componentsJoinedByString:@";\n"]; |