Re: NSTextView truncating right side when printed...
Re: NSTextView truncating right side when printed...
- Subject: Re: NSTextView truncating right side when printed...
- From: Graham Cox <email@hidden>
- Date: Wed, 23 Feb 2011 11:44:19 +1100
On 23/02/2011, at 11:24 AM, Bruce Cresanta wrote:
> I'm trying to print an NSTextView of HTML code. The right side is truncated on the actual printout. Suggestions to correct this are appreciated.
What do you want it to do to be 'correct'? What have you tried?
It's typical for HTML code to not be wrapped, so long lines run on until a newline is encountered. I believe text views arrange for there to be one column of n pages for a print layout by default, so what you're getting is exactly what I'd expect.
If you want it to word-wrap, set up the text view to word wrap.
If you want it to tile across a number columns to accommodate the text, change the print parameters to do that.
--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