//
//  CRInplaceTextArea.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 1/22/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

#import "CRGraphicsObject.h"

///////////////////////////////////////////////////////////////////////////////////////////////////
// Text area On-View editor
///////////////////////////////////////////////////////////////////////////////////////////////////
@interface CRInplaceTextArea : CRGraphicsObject
{
	NSTextField* textField;
}

@property (readwrite, copy) NSAttributedString* text;

- (void)beginTextEditSession;
- (void)endTextEditSession:(BOOL)doCommit;
- (void)commitTextChanged:(id)sender;

@end