Re: Text System Locks Up - Can't Find Reason
Re: Text System Locks Up - Can't Find Reason
- Subject: Re: Text System Locks Up - Can't Find Reason
- From: Kyle Sluder <email@hidden>
- Date: Thu, 12 Jun 2014 11:25:43 -0700
On Thu, Jun 12, 2014, at 10:21 AM, Seth Willits wrote:
> On Jun 11, 2014, at 6:46 PM, KappA <email@hidden> wrote:
>
> > For some reason it doesn't like the below - you need to comment that out, and uncheck that option in IB:
> >
> > self.textView.layoutManager.allowsNonContiguousLayout = YES;
> >
> > At least that's how I fixed it :) Not sure why it doesn't like that property when using IB.
>
> That's not fixing it, it's just avoiding the problem. "Fast" has it
> enabled. It's on by default in every text view.
Well, what if you don't use that, and instead just send
-ensureLayoutForCharactersInRange: to the text view's layout manager?
--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