• 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: Getting at NSTextFinder from text view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting at NSTextFinder from text view


  • Subject: Re: Getting at NSTextFinder from text view
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 14 Apr 2015 23:20:28 +1000

On 14 Apr 2015, at 11:18 pm, Martin Hewitson <email@hidden> wrote:
>
> Yeah, that’s what I’m doing, and I managed to create that crash. When you modify the textStorage, do you swap it out? I’m doing
>
>  [self.layoutManager replaceTextStorage:textStorage];

No -- I'm doing:

    [[self textStorage] setAttributedString:string];


--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

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: 
 >Getting at NSTextFinder from text view (From: Shane Stanley <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Martin Hewitson <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Mark Wright <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Shane Stanley <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Martin Hewitson <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Shane Stanley <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Martin Hewitson <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Shane Stanley <email@hidden>)
 >Re: Getting at NSTextFinder from text view (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Re: Getting at NSTextFinder from text view
  • Next by Date: Re: My Phone does not work upside down
  • Previous by thread: Re: Getting at NSTextFinder from text view
  • Next by thread: Crash when move open document based app file to trash
  • Index(es):
    • Date
    • Thread