• 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: Text System Locks Up - Can't Find Reason
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 12:33:46 -0700

On Jun 12, 2014, at 11:49 AM, Seth Willits <email@hidden> wrote:
>
> On Jun 12, 2014, at 11:25 AM, Kyle Sluder <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?
>
> Why would I want to? That'd block the calling thread until the layout was done, which defeats the purpose of allowing non-contiguous layout.

Because your alternative is apparently a hang.

--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


References: 
 >Text System Locks Up - Can't Find Reason (From: Seth Willits <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: ChanMaxthon <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: Seth Willits <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: ChanMaxthon <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: Kyle Sluder <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: Seth Willits <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: Seth Willits <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: Kyle Sluder <email@hidden>)
 >Re: Text System Locks Up - Can't Find Reason (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Text System Locks Up - Can't Find Reason
  • Next by Date: Re: document inexplicably becomes locked and fails to save under sandboxing
  • Previous by thread: Re: Text System Locks Up - Can't Find Reason
  • Next by thread: Re: Text System Locks Up - Can't Find Reason
  • Index(es):
    • Date
    • Thread