Re: How do you set the text in an NSTextView?
Re: How do you set the text in an NSTextView?
- Subject: Re: How do you set the text in an NSTextView?
- From: Mark <email@hidden>
- Date: Sat, 8 May 2010 10:25:53 +0100
On 8 May 2010, at 07:02:59, G S wrote:
Interface Builder shows that this control is an NSScrollView.
Repeatedly
clicking on it does not drill down any further; NSScrollView is the
end of
the line. The class is never shown as NSTextView. Check out what
happens
if you Control-drag from the app delegate to the supposed NSTextView
control:
You need to Control-drag to a region in the NSTextView that
conceptually represents a first line of text (somewhere near the top)
if it's empty, or to the visible text if it's not, to select the
textView instead of the scrollView.
Repeatedly clicking on it does drill down (there's only two classes),
but again you need to click on the text region or the 'top line' if
there's no text visible. If you Control-Shift-click it you can see
and select from the window's view hierarchy.
_______________________________________________
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