• 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: Overriding text size in NSTextStorage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Overriding text size in NSTextStorage (From: Gideon King <email@hidden>)
 >Re: Overriding text size in NSTextStorage (From: Jens Alfke <email@hidden>)
 >Re: Overriding text size in NSTextStorage (From: Gideon King <email@hidden>)
 >Re: Overriding text size in NSTextStorage (From: Kyle Sluder <email@hidden>)
 >Re: Overriding text size in NSTextStorage (From: Gideon King <email@hidden>)
 >Re: Overriding text size in NSTextStorage (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Where to find?
  • Next by Date: Re: Where to find?
  • Previous by thread: Re: Overriding text size in NSTextStorage
  • Next by thread: Re: Overriding text size in NSTextStorage
  • Index(es):
    • Date
    • Thread