mirror of
https://github.com/textmate/textmate.git
synced 2026-04-06 03:01:29 -04:00
42 lines
1.1 KiB
Objective-C
42 lines
1.1 KiB
Objective-C
#import "GutterView.h"
|
|
#import "OakTextView.h"
|
|
#import <document/document.h>
|
|
#import <oak/debug.h>
|
|
|
|
@class OTVStatusBar;
|
|
|
|
PUBLIC @interface OakDocumentView : NSView <GutterViewDelegate, GutterViewColumnDataSource, GutterViewColumnDelegate>
|
|
{
|
|
OBJC_WATCH_LEAKS(OakDocumentView);
|
|
|
|
NSScrollView* gutterScrollView;
|
|
GutterView* gutterView;
|
|
NSColor* gutterDividerColor;
|
|
NSDictionary* gutterImages;
|
|
NSDictionary* gutterHoverImages;
|
|
NSDictionary* gutterPressedImages;
|
|
|
|
NSBox* gutterDividerView;
|
|
|
|
NSScrollView* textScrollView;
|
|
OakTextView* textView;
|
|
OTVStatusBar* statusBar;
|
|
document::document_ptr document;
|
|
document::document_t::callback_t* callback;
|
|
|
|
NSMutableArray* topAuxiliaryViews;
|
|
NSMutableArray* bottomAuxiliaryViews;
|
|
|
|
IBOutlet NSPanel* tabSizeSelectorPanel;
|
|
}
|
|
@property (nonatomic, readonly) OakTextView* textView;
|
|
@property (nonatomic, assign) document::document_ptr const& document;
|
|
- (IBAction)toggleLineNumbers:(id)sender;
|
|
- (IBAction)takeThemeUUIDFrom:(id)sender;
|
|
|
|
- (void)setThemeWithUUID:(NSString*)themeUUID;
|
|
|
|
- (void)addAuxiliaryView:(NSView*)aView atEdge:(NSRectEdge)anEdge;
|
|
- (void)removeAuxiliaryView:(NSView*)aView;
|
|
@end
|