• 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
end of paragraph in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

end of paragraph in NSTextView


  • Subject: end of paragraph in NSTextView
  • From: Mark Munz <email@hidden>
  • Date: Mon, 26 Apr 2004 13:18:23 -0600

Does anyone know if NSTextView allows \r (0x0D) in the text it uses to make end of paragraph? Or is this tied to the reading of the text file into an NSString? For some reason they don't seem to be showing up on plain text that I'm munging.

It seems like all the carriage returns are converted to LFs (\n), but I wanted to make sure this is truly the case. If I'm trying to count paragraphs (ie. number of returns), should I be looking for all the alternatives (\n, \r, unicode)?

Thanks in advance.

Mark Munz
_______________________________________________
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: end of paragraph in NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Saving an object to a file
  • Next by Date: Re: Saving an object to a file
  • Previous by thread: Re: Saving an object to a file
  • Next by thread: Re: end of paragraph in NSTextView
  • Index(es):
    • Date
    • Thread