//
//  FSTextViewController.h
//  Downloader
//
//  Created by LiDong on 13-3-25.
//  Copyright (c) 2013年 LiDong. All rights reserved.
//

#import "IFViewController.h"

@class UITextStyleSettings;

@interface FSTextViewController : IFViewController <UITextViewDelegate, UIActionSheetDelegate> {
    UIBarButtonItem *_editItem;
    UIBarButtonItem *_doneItem;
    UIView *_contentView;
    UITextView *_textView;
    NSString *_path;
    UITapGestureRecognizer *_tapGestureRecognizer;
    NSUInteger _contentLength;
    CGFloat _keyboardHeight;
    CFStringEncoding _textEncoding;
    NSString *_fontName;
    UInt32 _fontSize;
    dispatch_queue_t _textQueue;
    UITextStyleSettings *_textStyle;
    BOOL _textChanged;
    BOOL _editing;
}

- (id)initWithPath:(NSString *)path;
- (void)setEditing:(BOOL)editing animated:(BOOL)animated;

@end
