aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-01-13 15:02:09 +0000
committerBibiko <bibiko@eva.mpg.de>2010-01-13 15:02:09 +0000
commit79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72 (patch)
tree0da14eed0641ebab73db6fbe638107d502850669 /Source/CMTextView.h
parentbf772fc91f17883aa87778e3d5eab9e4171259c2 (diff)
downloadsequelpro-79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72.tar.gz
sequelpro-79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72.tar.bz2
sequelpro-79c5e1f2d102ffa9d5121ee1f32aee8ca00c2a72.zip
• further improvements for F5 completion
- first steps for context-sensitive completion: parse left side of current word to look for db.table.field constructions - eg type: mysql.user. and press F5 Note: work in progress :)
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index 229f3bbc..cfabd3ef 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -88,7 +88,7 @@ static inline void NSMutableAttributedStringAddAttributeValueRange (NSMutableAtt
- (void) doSyntaxHighlighting;
- (void) setConnection:(MCPConnection *)theConnection withVersion:(NSInteger)majorVersion;
- (void) doCompletion;
-- (NSArray *)suggestionsForSQLCompletionWith:(NSString *)currentWord dictMode:(BOOL)isDictMode;
+- (NSArray *)suggestionsForSQLCompletionWith:(NSString *)currentWord dictMode:(BOOL)isDictMode browseMode:(BOOL)dbBrowseMode withTableName:(NSString*)aTableName withDbName:(NSString*)aDbName;
- (void) selectCurrentQuery;
- (NSUInteger)characterIndexOfPoint:(NSPoint)aPoint;