• 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: NSParagraphStyle questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSParagraphStyle questions


  • Subject: Re: NSParagraphStyle questions
  • From: Kaelin Colclasure <email@hidden>
  • Date: Thu, 1 Jan 2004 09:19:49 -0800

On Jan 1, 2004, at 8:49 AM, Gideon King wrote:

> I am using NSParagraphStyle to set up paragraph formatting, an need to
> insert a newline into a paragraph without it becoming a new paragraph
> - if I insert a \n or 0x000A, there is no effect. If I insert \r or
> 0x000D it creates a new paragraph with the spacing before and after
> the paragraph etc. Does anyone have a solution that will allow me to
> insert a new line without it becoming a new paragraph?

You want the Unicode character used to represent a "soft return" -- I'm
not sure, but I think the standard is:

> 2028
>
> LINE SEPARATOR
>
> The text after the Line Separator starts at the beginning of the line.
> No paragraph formatting is applied.
>
> This is similar to HTML <BR>

The above quote is from: http://www.unicode.org/unicode/reports/tr14/

> Also, I am using the new paragraphSpacingBefore feature, which does
> exactly what I need it to, but I need to ship my app on 10.2 - can
> someone point me in the right direction to implementing a clone of
> paragraphSpacingBefore? I'm fairly familiar with the different parts
> of the text system, but am a bit unsure where to start with this one.

Sorry, can't help you with that one. :-)

-- Kaelin

>
> TIA
>
> Gideon
> _______________________________________________
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSParagraphStyle questions
      • From: Gideon King <email@hidden>
References: 
 >NSParagraphStyle questions (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Does +isSubclassOfClass work?
  • Next by Date: [OT] Happy new year
  • Previous by thread: NSParagraphStyle questions
  • Next by thread: Re: NSParagraphStyle questions
  • Index(es):
    • Date
    • Thread