aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-04-06 18:13:31 +0000
committerBibiko <bibiko@eva.mpg.de>2010-04-06 18:13:31 +0000
commit5733c4492539c132dab6f11219803627c08465cd (patch)
tree737f63690fd54438ab747f1cd8f33ff3c4d68d1c /Source/CMTextView.h
parent2b1c1fb175ef5702ee00e5285226e642039b4afd (diff)
downloadsequelpro-5733c4492539c132dab6f11219803627c08465cd.tar.gz
sequelpro-5733c4492539c132dab6f11219803627c08465cd.tar.bz2
sequelpro-5733c4492539c132dab6f11219803627c08465cd.zip
• overlapping of completion windows after refreshing its content if db structure fetching was finished
- for some reasons it could happen that the timer? fires twice, to avoid this changed the re-invocation strategy
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index 224349e3..6e51d47f 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -64,6 +64,8 @@
BOOL completionIsOpen;
BOOL completionWasReinvokedAutomatically;
+ BOOL completionWasRefreshed;
+ BOOL completionFuzzyMode;
NSUInteger completionParseRangeLocation;
NSColor *queryHiliteColor;
@@ -120,6 +122,7 @@
- (void) setConnection:(MCPConnection *)theConnection withVersion:(NSInteger)majorVersion;
- (void) doCompletionByUsingSpellChecker:(BOOL)isDictMode fuzzyMode:(BOOL)fuzzySearch autoCompleteMode:(BOOL)autoCompleteMode;
- (void) doAutoCompletion;
+- (void) refreshCompletion;
- (NSArray *)suggestionsForSQLCompletionWith:(NSString *)currentWord dictMode:(BOOL)isDictMode browseMode:(BOOL)dbBrowseMode withTableName:(NSString*)aTableName withDbName:(NSString*)aDbName;
- (void) selectCurrentQuery;
- (void) processMirroredSnippets;