Re: NSTextView becomes temporarily unresponsive
Re: NSTextView becomes temporarily unresponsive
- Subject: Re: NSTextView becomes temporarily unresponsive
- From: Graham Cox <email@hidden>
- Date: Wed, 14 Jul 2010 09:29:34 +1000
On 14/07/2010, at 5:24 AM, David Swofford wrote:
> Ah... I see a difference, and it's very relevant. My example has a lot of hyphen characters in it (FWIW these represent gaps in a sequence alignment and are typically common in these kinds of files). Your example was all letters. When I substitute all of the gaps in my example to letters, TextEdit no longer has this slowdown. It never occurred to me that this would matter.
>
> I'm guessing that it has something to do with line/word wrapping, and will explore further.
Also, you may need to turn off all the hyphenation processing, since the presence of hyphens in the text will trigger various layout changes that you can probably suppress in your case.
--Graham
_______________________________________________
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