aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPNarrowDownCompletion.h')
-rw-r--r--Source/SPNarrowDownCompletion.h49
1 files changed, 31 insertions, 18 deletions
diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h
index 670d1a29..153f8b78 100644
--- a/Source/SPNarrowDownCompletion.h
+++ b/Source/SPNarrowDownCompletion.h
@@ -34,12 +34,12 @@
@interface SPNarrowDownCompletion : NSWindow <NSTableViewDelegate, NSTableViewDataSource>
{
- NSArray* suggestions;
- NSMutableString* mutablePrefix;
- NSString* staticPrefix;
- NSString* currentDb;
- NSArray* filtered;
- NSTableView* theTableView;
+ NSArray *suggestions;
+ NSMutableString *mutablePrefix;
+ NSString *staticPrefix;
+ NSString *currentDb;
+ NSArray *filtered;
+ NSTableView *theTableView;
NSPoint caretPos;
BOOL isAbove;
BOOL closeMe;
@@ -70,11 +70,11 @@
NSUInteger timeCounter;
id theView;
-
+
NSInteger maxWindowWidth;
NSInteger spaceCounter;
-
- NSMutableCharacterSet* textualInputCharacters;
+
+ NSMutableCharacterSet *textualInputCharacters;
SPDatabaseStructure *databaseStructureRetrieval;
#ifndef SP_CODA
@@ -82,15 +82,29 @@
#endif
}
-- (id)initWithItems:(NSArray*)someSuggestions alreadyTyped:(NSString*)aUserString staticPrefix:(NSString*)aStaticPrefix
- additionalWordCharacters:(NSString*)someAdditionalWordCharacters caseSensitive:(BOOL)isCaseSensitive
- charRange:(NSRange)initRange parseRange:(NSRange)parseRange inView:(id)aView
- dictMode:(BOOL)mode dbMode:(BOOL)theDbMode tabTriggerMode:(BOOL)tabTriggerMode fuzzySearch:(BOOL)fuzzySearch
- backtickMode:(NSInteger)theBackTickMode withDbName:(NSString*)dbName withTableName:(NSString*)tableName
- selectedDb:(NSString*)selectedDb caretMovedLeft:(BOOL)caretMovedLeft autoComplete:(BOOL)autoComplete oneColumn:(BOOL)oneColumn
- alias:(NSString*)anAlias withDBStructureRetriever:(SPDatabaseStructure *)theDatabaseStructure;
+- (id) initWithItems:(NSArray *)someSuggestions
+ alreadyTyped:(NSString *)aUserString
+ staticPrefix:(NSString *)aStaticPrefix
+ additionalWordCharacters:(NSString *)someAdditionalWordCharacters
+ caseSensitive:(BOOL)isCaseSensitive
+ charRange:(NSRange)initRange
+ parseRange:(NSRange)parseRange
+ inView:(id)aView
+ dictMode:(BOOL)mode
+ dbMode:(BOOL)theDbMode
+ tabTriggerMode:(BOOL)tabTriggerMode
+ fuzzySearch:(BOOL)fuzzySearch
+ backtickMode:(NSInteger)theBackTickMode
+ withDbName:(NSString *)dbName
+ withTableName:(NSString *)tableName
+ selectedDb:(NSString *)selectedDb
+ caretMovedLeft:(BOOL)caretMovedLeft
+ autoComplete:(BOOL)autoComplete
+ oneColumn:(BOOL)oneColumn
+ alias:(NSString *)anAlias
+ withDBStructureRetriever:(SPDatabaseStructure *)theDatabaseStructure;
- (void)setCaretPos:(NSPoint)aPos;
-- (void)insert_text:(NSString* )aString;
+- (void)insert_text:(NSString *)aString;
- (void)insertAutocompletePlaceholder;
- (void)removeAutocompletionPlaceholderUsingFastMethod:(BOOL)useFastMethod;
- (void)adjustWorkingRangeByDelta:(NSInteger)delta;
@@ -98,5 +112,4 @@
- (void)updateSyncArrowStatus;
- (void)reInvokeCompletion;
-
@end