• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextView and First Responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSTextView and First Responder
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: FDNetInfoFunctions
  • Next by Date: NSOpenPanel ->getting path while panel is up
  • Previous by thread: Re: NSTextView and First Responder
  • Next by thread: Re: NSTextView and First Responder
  • Index(es):
    • Date
    • Thread