• 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: Clearing an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clearing an NSTextView


  • Subject: Re: Clearing an NSTextView
  • From: "I. Savant" <email@hidden>
  • Date: Sun, 24 Feb 2008 15:33:46 -0500

And how do I select all of characters? That would be my only problem with the replaceCharactersInRange:withString:...

-setSelectedRange:?

Sorry, I misunderstood your question. Why would you need to 'select' the characters to use -replaceCharactersInRange:withString:? You give it the entire range of the text currently in the text view and a new string to replace it with.


  No selection necessary if none is desired ...

--
I.S.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Clearing an NSTextView (From: Jeremy <email@hidden>)
 >Re: Clearing an NSTextView (From: "I. Savant" <email@hidden>)
 >Re: Clearing an NSTextView (From: Jeremy <email@hidden>)
 >Re: Clearing an NSTextView (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Clearing an NSTextView
  • Next by Date: Re: Clearing an NSTextView
  • Previous by thread: Re: Clearing an NSTextView
  • Next by thread: Re: Clearing an NSTextView
  • Index(es):
    • Date
    • Thread