• 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: Seth Willits <email@hidden>
  • Date: Wed, 11 Jun 2014 17:52:19 -0700

On Jun 11, 2014, at 5:42 PM, Kyle Sluder <email@hidden> wrote:

> Seth, did you notice that if you change backgroundLayoutEnabled and
> allowsNonContiguousLayout to NO in -windowDidLoad, that the scrollbar
> gets perpetually longer as you scroll? Very strange indeed.

Yep. That's expected AFAIK. Since you've told it layout must be contiguous, when laying out glyph N, all glyphs from 0 to N-1 are already laid out. Also, since background layout is disabled, it will only layout what it's asked to, which so far is only what's visible. Since only part of the text has been laid out,  the text view is fitted to what's been laid out. When background layout is enabled, I'm not actually sure how it figure out how big to make the text view, particularly so quickly.


--
Seth Willits





_______________________________________________

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

  • Prev by Date: Re: Text System Locks Up - Can't Find Reason
  • Next by Date: Contextual menus in view-based NSOutlineView
  • 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