• 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
Line separator - root problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Line separator - root problem


  • Subject: Line separator - root problem
  • From: Izidor Jerebic <email@hidden>
  • Date: Sat, 3 Apr 2004 11:27:53 +0200

Hello!

In my previous two emails I described problems when inserting line separator character (0x2028 LINE SEPARATOR Unicode) into my attributed string (displayed by NSTextView).

It turns out that both problems are caused by a single root problem - text system applies "new paragraph" rules and formatting (additional line spacing, first line indents etc.) when breaking the line at line separator character.

It has the same effect as inserting newline character (\n) - it formats the remaining text as a new paragraph.

How can I persuade the text system to just make a line break and not apply "new paragraph" formatting at the line break?

Regards,
Izidor Jerebic
_______________________________________________
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: Line separator - root problem
      • From: Scott Thompson <email@hidden>
  • Prev by Date: Re: Altering attributes of hyperlinked text
  • Next by Date: Re: Cocoa App Package Question
  • Previous by thread: Line separator character and line spacing
  • Next by thread: Re: Line separator - root problem
  • Index(es):
    • Date
    • Thread