Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 0.527 kb
// TTDocument.h
// Textus
// Created by Jjgod Jiang on 2/16/09.
#import <Cocoa/Cocoa.h>
@class TTTextView;
@interface TTDocument : NSDocument {
IBOutlet TTTextView* textView;
@property(strong) NSMutableAttributedString* fileContents;
@property(strong) NSString* fileContentsInPlainText;
@property(assign) NSUInteger lastReadLocation;
- (NSDictionary*)attributesForText;
- (void)saveMetaData;
- (NSString*)firstLine:(NSString*)line;
- (void)outputTo:(NSMutableString*)output from:(NSString*)contents;
Jump to Line
Something went wrong with that request. Please try again.