Re: Can't type in NSTextView
Re: Can't type in NSTextView
- Subject: Re: Can't type in NSTextView
- From: Ross Carter <email@hidden>
- Date: Tue, 03 Jan 2012 15:04:12 -0500
On Jan 3, 2012, at 2:12 PM, Seth Willits wrote:
> On Jan 2, 2012, at 3:07 PM, Fritz Anderson wrote:
>
>>> In Xcode 4.2, I can't type into a text view, at all. It's not even just the old problem of the text view being resized to be un-selectable (that's STILL a problem, and STILL maddening), but even selecting it, double-clicking on it gives me no field editor. I can't edit the text at all. (Yes, editing is enabled). This is for any text view. Text fields work fine.
>>
>> I interpret your problem to be: You dragged a "Text View" into a window or other view in Interface Builder (within, as you say, Xcode), and you want to prepopulate the view with some text of your own.
>
> I guess I forgot to mention IB specifically, didn't I.
>
>
>> But your use of the phrase "field editor" puzzles me. All field editors are text views, but not all text views (such as the one you drag in from the library) are field editors. So I may be wrong about what you're saying.
>>
>> What you drag into the IB canvas from the library is an NSScrollView, with its hierarchy of views, at the bottom of which is an NSTextView. The text view in the scroller is very small — just a line at the top of the whole area of the scroll view. Are you sure you've been clicking in that top line, repeatedly to descend through the view hierarchy to the text view?
>
>
> I'm well aware of all of that. And no, it's not always at the top line which is the resizing problem I mentioned. It's initially there, but if you resize the scroll view in certain ways, the text view can be {w, 0} sized and be completely impossible to click on. In IB 2 and 3, you could always resize it again in a funny way and get it to be the height of the entire scrollview, but that's doesn't work at all. Either way, this is besides the point.
>
> No amount of double-clicking on *the text view* pops open the field editor to make it editable.
Seth, if you find the answer, please let us know, because I am struggling with the same thing. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden