diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-05-02 21:37:33 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-05-02 21:37:33 +0000 |
commit | 62f46ff751c551aa07594f0f5ef19f80ce7b83f0 (patch) | |
tree | 5600a4dfb64c98db8e2e5b2d198691a0262ede0f /Source/CMTextView.h | |
parent | 49d3909683d5067ee6b912a37e7af23ab97d057e (diff) | |
download | sequelpro-62f46ff751c551aa07594f0f5ef19f80ce7b83f0.tar.gz sequelpro-62f46ff751c551aa07594f0f5ef19f80ce7b83f0.tar.bz2 sequelpro-62f46ff751c551aa07594f0f5ef19f80ce7b83f0.zip |
• improved completion in CQ's text view
- added database names
- fixed logic for detecting if caret is inside quotes
- if caret inside backticks show only db, table, column names
• outsourced syntax highlighting into a method for further improvements
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r-- | Source/CMTextView.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h index 7abc2ef1..964598cd 100644 --- a/Source/CMTextView.h +++ b/Source/CMTextView.h @@ -23,6 +23,12 @@ #import <Cocoa/Cocoa.h> #import "NoodleLineNumberView.h" +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMCopyTable.h" +#import "CMTextView.h" +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + @interface CMTextView : NSTextView { BOOL autoindentEnabled; @@ -38,7 +44,7 @@ BOOL sqlStringIsTooLarge; IBOutlet NSScrollView *scrollView; - + } - (IBAction)showMySQLHelpForCurrentWord:(id)sender; @@ -63,5 +69,6 @@ - (void) selectLineNumber:(unsigned int)lineNumber ignoreLeadingNewLines:(BOOL)ignLeadingNewLines; - (unsigned int) getLineNumberForCharacterIndex:(unsigned int)anIndex; - (void) autoHelp; +- (void) doSyntaxHighlighting:(NSTextStorage*)textStore; @end |