aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-16 23:21:40 +0000
committerrowanbeentje <rowan@beent.je>2009-04-16 23:21:40 +0000
commit93bf3137c544b66a84a5a780264abef960f8a1b9 (patch)
tree9a5a3f9a1bd4712639528a8f26242ea5d6fb0b37 /Source/CMTextView.h
parent4051d858d9e189b7c5bd0919e0bf952cb42898b8 (diff)
downloadsequelpro-93bf3137c544b66a84a5a780264abef960f8a1b9.tar.gz
sequelpro-93bf3137c544b66a84a5a780264abef960f8a1b9.tar.bz2
sequelpro-93bf3137c544b66a84a5a780264abef960f8a1b9.zip
- Implement line numbering for CMTextView:
- Add an implementation of NoodleLineNumberView, by Paul Kim. Slightly tweaked to remove markers. - Add to CMTextView (to enable it for other CMTextView uses, hook up the scrollView outlet to the containing scroll view)
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 b9787dfc..55bff15f 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -22,6 +22,7 @@
// Or mail to <lorenz@textor.ch>
#import <Cocoa/Cocoa.h>
+#import "NoodleLineNumberView.h"
@interface CMTextView : NSTextView {
BOOL autoindentEnabled;
@@ -29,6 +30,9 @@
BOOL autoindentIgnoresEnter;
BOOL autouppercaseKeywordsEnabled;
BOOL delBackwardsWasPressed;
+ NoodleLineNumberView *lineNumberView;
+
+ IBOutlet NSScrollView *scrollView;
}
- (BOOL) isNextCharMarkedBy:(id)attribute;