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: Joshua Garnham <email@hidden>
- Date: Sat, 2 Jan 2010 07:57:16 +0000 (GMT)
How would I use that?
________________________________
From: Paul Sanders <email@hidden>
To: Joshua Garnham <email@hidden>; Graham Cox <email@hidden>
Cc: email@hidden
Sent: Fri, 1 January, 2010 15:09:47
Subject: Re: Setting the Line Height/ Line Spacing in an NSTextView.
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