NSParagraphStyle questions
NSParagraphStyle questions
- Subject: NSParagraphStyle questions
- From: Gideon King <email@hidden>
- Date: Fri, 2 Jan 2004 02:49:00 +1000
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?
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.
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.