• 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
Text not selecting in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text not selecting in NSTextView


  • Subject: Text not selecting in NSTextView
  • From: "Paul J. Lucas" <email@hidden>
  • Date: Wed, 12 Oct 2005 09:44:29 -0700 (PDT)

	I'm doing:

		int lengh = [[myTextView textStorage] length];
		[myTextView setSelectedRange:NSMakeRange(0,length)];

	to select all the text in the NSTextView, but it doens't do it.
	The insertion point is before the first character.

	How can I select all the text?

	- Paul
 _______________________________________________
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

  • Prev by Date: Distributed Objects/NSThreads/AppleEvents
  • Next by Date: Re: Bindings and Core Data question.
  • Previous by thread: Distributed Objects/NSThreads/AppleEvents
  • Next by thread: Re: Text not selecting in NSTextView
  • Index(es):
    • Date
    • Thread