aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index 770a4257..42803215 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -64,6 +64,8 @@
CMMCPConnection *mySQLConnection;
NSString *usedQuery;
+
+ int queryStartPosition;
}
// IBAction methods
@@ -83,6 +85,8 @@
// Query actions
- (void)performQueries:(NSArray *)queries;
- (NSString *)queryAtPosition:(long)position lookBehind:(BOOL *)doLookBehind;
+- (NSRange)queryTextRangeAtPosition:(long)position lookBehind:(BOOL *)doLookBehind;
+- (NSRange)queryTextRangeForQuery:(int)anIndex startPosition:(long)position;
// Accessors
- (NSArray *)currentResult;