• 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: placing the text insertion point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: placing the text insertion point


  • Subject: Re: placing the text insertion point
  • From: Volker Runkel <email@hidden>
  • Date: Sat, 28 Jan 2006 09:57:50 +0100

Hi,

i would try

[yourTextView setSelectionRange:NSMakeRange([[yourTextView string] length],0)];

after loading your textViews content

Volker

Am 28.01.2006 um 07:47 schrieb Donald Hall:

My apologies if how to do this is obvious, and I just couldn't find it in the documentation, but how do you place the text insertion point in an NSTextView? When I open my window, the text insertion caret (?) is always before the first character of text. I would like to place it at the end of the text.

Thanks,

Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >placing the text insertion point (From: Donald Hall <email@hidden>)

  • Prev by Date: Re: CFPreferences{spam?}
  • Next by Date: threads or processes?
  • Previous by thread: placing the text insertion point
  • Next by thread: threads or processes?
  • Index(es):
    • Date
    • Thread