• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the Line Height/ Line Spacing in an NSTextView.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Setting the Line Height/ Line Spacing in an NSTextView.
      • From: Graham Cox <email@hidden>
References: 
 >Re: Setting the Line Height/ Line Spacing in an NSTextView. (From: Joshua Garnham <email@hidden>)
 >Re: Setting the Line Height/ Line Spacing in an NSTextView. (From: Graham Cox <email@hidden>)
 >Re: Setting the Line Height/ Line Spacing in an NSTextView. (From: Joshua Garnham <email@hidden>)
 >Re: Setting the Line Height/ Line Spacing in an NSTextView. (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Array Controller "Select Inserted Objects" [SOLVED]
  • Next by Date: Re: Setting the Line Height/ Line Spacing in an NSTextView.
  • Previous by thread: Re: Setting the Line Height/ Line Spacing in an NSTextView.
  • Next by thread: Re: Setting the Line Height/ Line Spacing in an NSTextView.
  • Index(es):
    • Date
    • Thread