aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-04 14:39:48 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-04 14:39:48 +0000
commitfbe74f1a65b511f79b07b5e6a91479593a0e17bb (patch)
tree2df00b515ea763042c96fc86ea8b2673fa71e7eb /Source/SPCustomQuery.m
parentefc5a0e98e86838300426606e8e649bdb96f68f6 (diff)
downloadsequelpro-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.m8
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"];