aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-20 14:01:50 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-20 14:01:50 +0000
commit6e83f452684330b881cc2d57c57ea981934ba18a (patch)
tree78b076f3cd9d3c51bdba92c30cd54888fb3a9aca /Source/CMTextView.h
parentf821d5595b90517b20243610233dcf45f7f02d73 (diff)
downloadsequelpro-6e83f452684330b881cc2d57c57ea981934ba18a.tar.gz
sequelpro-6e83f452684330b881cc2d57c57ea981934ba18a.tar.bz2
sequelpro-6e83f452684330b881cc2d57c57ea981934ba18a.zip
• added selectLineNumber:x to CMTextView to be able to select the line x
• added error highlighting of the first mentioned error - if a "near message" error is provided select that message otherwise select the entire error line and scrolls to it - if no "at line x" and no "near message" is given do nothing - if a selection was given and the user pressed "runAll" destroy the selection before error checking; if no error was found reconstruct that selection (to be able to distinguish between "runSelection" and "runAll" plus selection) * changed slightly the trigger for syntax highlighting/auto-uppercasing for better scrollToRange behaviour
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index b7748ef9..dba30ecf 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -52,5 +52,6 @@
- (BOOL) autopair;
- (void) setAutouppercaseKeywords:(BOOL)enableAutouppercaseKeywords;
- (BOOL) autouppercaseKeywords;
+- (void) selectLineNumber:(unsigned int)lineNumber ignoreLeadingNewLines:(BOOL)ignLeadingNewLines;
@end