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

Re: NSTextView


  • Subject: Re: NSTextView
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 22 Sep 2010 11:04:09 -0700

On Wed, Sep 22, 2010 at 10:43 AM, albert jordan <email@hidden> wrote:
> Hi Martin,
>
> THanks so much for the suggestion.
>
> The approach improves the situation, but unfortunately does not resolve it.  But understand now that this is the issue, I'm going to see if there will be another work around.

If you want to edit a text view's text storage, you must call
-shouldChangeTextInRange:replacementString: on the text view before
mutating the text storage, and then call -didChangeText afterwards.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: NSTextView
      • From: albert jordan <email@hidden>
References: 
 >NSTextView (From: albert jordan <email@hidden>)
 >Re: NSTextView (From: Martin Hewitson <email@hidden>)
 >Re: NSTextView (From: albert jordan <email@hidden>)

  • Prev by Date: Re: Efficiently adding a bunch of items to an NSMutableArray
  • Next by Date: Re: NSTableView display issue
  • Previous by thread: Re: NSTextView
  • Next by thread: Re: NSTextView
  • Index(es):
    • Date
    • Thread