aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-04 16:59:42 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-04 16:59:42 +0000
commit4763ed6268a0c384cbd8ebbb8a324111cb7cc99d (patch)
tree779d5a3ef8397cb254409048d9c42d6af3e1685d /Source/CustomQuery.h
parentb3dee5036052523e1af4bac535d5b97452ff2995 (diff)
downloadsequelpro-4763ed6268a0c384cbd8ebbb8a324111cb7cc99d.tar.gz
sequelpro-4763ed6268a0c384cbd8ebbb8a324111cb7cc99d.tar.bz2
sequelpro-4763ed6268a0c384cbd8ebbb8a324111cb7cc99d.zip
• simplified quertAtPosition:
• added queryRangeAtPosition: method because this is needed also for other purposes • moved the commands for highlighting the current query from queryAtPosition: to textViewDidChangedSelection: (where it belongs to) • some minor changes in error highlighting code
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index 9c4e1a1e..68fdbf49 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -117,7 +117,7 @@
// Query actions
- (void)performQueries:(NSArray *)queries;
- (NSString *)queryAtPosition:(long)position lookBehind:(BOOL *)doLookBehind;
-- (NSRange)queryTextRangeAtPosition:(long)position lookBehind:(BOOL *)doLookBehind;
+- (NSRange)queryRangeAtPosition:(long)position lookBehind:(BOOL *)doLookBehind;
- (NSRange)queryTextRangeForQuery:(int)anIndex startPosition:(long)position;
// Accessors