Re: NSLayoutManager subclassing
Re: NSLayoutManager subclassing
- Subject: Re: NSLayoutManager subclassing
- From: John Stiles <email@hidden>
- Date: Thu, 19 Jan 2006 10:39:45 -0800
On Jan 19, 2006, at 10:35 AM, Rachel Blackman wrote:
This is really a view-level modification rather than a layout-
level modification. You are not changing the positioning of
glyphs with respect to each other, or the manner in which glyphs
are drawn. Instead, you are changing the origin of the container
relative to the view (in one implementation) or the origin of the
view with respect to its superview (in another).
Yeah, unfortunately, this was what I was afraid of. The ability of
NSLayoutManager and NSTextContainer to draw in circular areas,
etc., was what led me down the path of 'is it possible.' Alas. :)
I may try the flipping of coordinates; if that works, it would be a
much quicker method. I suspect, however, that it will have some
unforeseen consequence I'm not expecting. (Well, I suppose it goes
without saying that if I were expecting it, it wouldn't be
unforeseen.)
Could you use an editable web view to do this?
Mail.app uses the web view editor so it's pretty debugged and full-
featured (which is not to say that I haven't filed bugs on glitches
in Mail.app text editing :) )
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden