Re: Overriding text size in NSTextStorage
Re: Overriding text size in NSTextStorage
- Subject: Re: Overriding text size in NSTextStorage
- From: Gideon King <email@hidden>
- Date: Tue, 11 May 2010 08:05:48 +1000
Oh I tried that too, but it made no difference, so was looking to find something that would force the layout. Considering the symptoms, I think that the update to the position of the text is happening in the text view is happening before it gets anywhere near the back end, and nothing I am doing in the text storage or layout manager is having any effect on the positioning of the text in the view, even though it is correctly updating the font size.
Regards
Gideon
On 11/05/2010, at 4:21 AM, Kyle Sluder wrote:
> On Mon, May 10, 2010 at 11:07 AM, Gideon King <email@hidden> wrote:
>> OK, tried that. I couldn't do anything there that would force glyph generation or layout because it is between a begin and end editing.
>
> Okay... why would you want to force glyph generation or layout? That
> notification is your opportunity to replace the attributes being
> applied to the run of text.
>
> --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