Re: NSTextView and NSTextContainer size & clipping area
Re: NSTextView and NSTextContainer size & clipping area
- Subject: Re: NSTextView and NSTextContainer size & clipping area
- From: Ross Carter <email@hidden>
- Date: Fri, 06 May 2011 14:56:29 -0400
On May 6, 2011, at 2:40 AM, Дмитрий Николаев wrote:
> If there are any possibility to draw inside text view but outside of text container ?
It depends on who is doing the drawing. NSTextView is an NSView subclass and you can override drawRect: just like any NSView. The Cocoa text system, however, draws inside the area specified by a NSTextContainer. _______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden