Re: Getting at NSTextFinder from text view
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