Re: NSTextView and First Responder
Re: NSTextView and First Responder
- Subject: Re: NSTextView and First Responder
- From: John Tsombakos <email@hidden>
- Date: Thu, 25 Apr 2002 00:25:21 -0400
On Thursday, April 25, 2002, at 12:07 AM, cocoa-dev-
email@hidden wrote:
Even for a text editor/word processor? TextEdit shows a
cursor, BBEdit (while not Cocoa) does, and Word (granted,
not the "Model Apple HI" application) does. I would think
for a new, blank window that has one text field/view, the
cursor would show. For a window with several text fields
showing data, I agree with the design.
I think you're right. I should have qualified my initial statement by
indicating that I was talking about windows with multiple text fields or
text views.
Makes this Cocoa newbie feel good :)
So, I did add a statement to the windowControllerDidLoadNib method:
[myTextView setSelectedRange:NSMakeRange(0,0)];
But that didn't work. Is that the proper place to put it?
Thanks
john t.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.