Re: Setting the Line Height/ Line Spacing in an NSTextView.
Re: Setting the Line Height/ Line Spacing in an NSTextView.
- Subject: Re: Setting the Line Height/ Line Spacing in an NSTextView.
- From: "Paul Sanders" <email@hidden>
- Date: Fri, 1 Jan 2010 15:09:47 -0000
Check out NSTextView's setTypingAttributes: method. And look up
the meaning of NSParagraphStyleAttributeName. It's really not
so hard...
Paul Sanders.
----- Original Message -----
From: "Joshua Garnham" <email@hidden>
To: "Graham Cox" <email@hidden>
Cc: <email@hidden>
Sent: Friday, January 01, 2010 12:35 PM
Subject: Re: Setting the Line Height/ Line Spacing in an
NSTextView.
Oh, I see. That works partly. The text that is already in the
NSTextView at launch has the new Line Height but as soon as you
start to type the line your typing on resets it's line height to
default.
_______________________________________________
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