title: How is a paragraph defined in an NSAttributedString?
body: <p>I see that there is an attribute name (<code>NSParagraphStyleAttributeName</code>) for applying paragraph styles to text in Cocoa.  Text is stored in an <code>NSAttributedString</code>, but what defines a "paragraph" in that string -- is it the newline character <code>\n</code>?  Other characters?  If it's a <code>\n</code>, then how do you create a new line without starting a new paragraph.  And lastly, when you attach a ParagraphStyle to the string, do you have to use the exact range of the whole paragraph, or can you put it on any sub-range in the paragraph.  If it can be a sub-range, how does the system handle two or more ParagraphStyles on the same paragraph?</p>
  
  <p>thanks,
  Rob</p>