aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-29 21:40:58 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-29 21:40:58 +0000
commit3cc8ce2d5e7ba9fe3bb9a78348a1f5bb56182bf3 (patch)
tree22cb1ecbe2f7297af130d3c2122ecdb13acac764 /Source/CMTextView.h
parent16942ed14032430fb8595073be240ed952cb340d (diff)
downloadsequelpro-3cc8ce2d5e7ba9fe3bb9a78348a1f5bb56182bf3.tar.gz
sequelpro-3cc8ce2d5e7ba9fe3bb9a78348a1f5bb56182bf3.tar.bz2
sequelpro-3cc8ce2d5e7ba9fe3bb9a78348a1f5bb56182bf3.zip
• MySQL Help
- first trial to implement an "autoHelp" function This function calls showHelpForCurrentWord (or selection) 1 sec after stopping typing and shows the Help in the Help window if the caret is not inside of quotes. To invoke it set autohelpEnabled=YES in CMTextView.m's awakeFromNib method.
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index 4dee7079..67a553b6 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -30,6 +30,7 @@
BOOL autoindentIgnoresEnter;
BOOL autouppercaseKeywordsEnabled;
BOOL delBackwardsWasPressed;
+ BOOL autohelpEnabled;
NoodleLineNumberView *lineNumberView;
NSString *lookupInDocumentationTitle;
@@ -52,7 +53,10 @@
- (BOOL) autopair;
- (void) setAutouppercaseKeywords:(BOOL)enableAutouppercaseKeywords;
- (BOOL) autouppercaseKeywords;
+- (void) setAutohelp:(BOOL)enableAutohelp;
+- (BOOL) autohelp;
- (void) selectLineNumber:(unsigned int)lineNumber ignoreLeadingNewLines:(BOOL)ignLeadingNewLines;
- (unsigned int) getLineNumberForCharacterIndex:(unsigned int)anIndex;
+- (void) autoHelp;
@end