diff options
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r-- | Source/CMTextView.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h index 152450b0..5272ab24 100644 --- a/Source/CMTextView.h +++ b/Source/CMTextView.h @@ -23,12 +23,11 @@ // More info at <http://code.google.com/p/sequel-pro/> #import <Cocoa/Cocoa.h> +#import <MCPKit/MCPKit.h> + #import "NoodleLineNumberView.h" -#import <MCPKit_bundled/MCPKit_bundled.h> #import "CMCopyTable.h" #import "CMTextView.h" -#import "CMMCPConnection.h" -#import "CMMCPResult.h" #define SP_TEXT_SIZE_TRIGGER_FOR_PARTLY_PARSING 10000 @@ -57,7 +56,7 @@ static inline void NSMutableAttributedStringAddAttributeValueRange (NSMutableAtt NSUserDefaults *prefs; - CMMCPConnection *mySQLConnection; + MCPConnection *mySQLConnection; int mySQLmajorVersion; } @@ -87,7 +86,7 @@ static inline void NSMutableAttributedStringAddAttributeValueRange (NSMutableAtt - (unsigned int) getLineNumberForCharacterIndex:(unsigned int)anIndex; - (void) autoHelp; - (void) doSyntaxHighlighting; -- (void) setConnection:(CMMCPConnection *)theConnection withVersion:(int)majorVersion; +- (void) setConnection:(MCPConnection *)theConnection withVersion:(int)majorVersion; - (void) doCompletion; - (NSArray *)suggestionsForSQLCompletionWith:(NSString *)currentWord dictMode:(BOOL)isDictMode; - (void) selectCurrentQuery; |