Re: Subclassing NSLayoutManager
Re: Subclassing NSLayoutManager
- Subject: Re: Subclassing NSLayoutManager
- From: Jim Correia <email@hidden>
- Date: Mon, 24 Feb 2003 20:25:32 -0500
On Monday, February 24, 2003, at 08:13 PM, Douglas Davidson wrote:
On Monday, February 24, 2003, at 3:42 PM, Charles Srstka wrote:
Thanks, that sounds like a very reasonable solution. Do you know if
there's any way to coerce the default typesetter to wrap the text
after a fixed number of characters rather than right at the bounds of
the enclosing text container? If I could do that, I could dump my
NSTypesetter subclass altogether...
The principal means of forcing wrapping at a particular position is to
insert a hard line break.
In the original text storage? (Or is there some other non-destructive
means of doing so by hooking the layout manager?)
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.