end of paragraph in NSTextView
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.