Here's a thread for discussion the RichEdit formatting code I posted.

The code for paragraph formatting needs some work to handle larger occurrences of $crlf. A RegEx expression might be useful in this case. Otherwise the code seems to work as intended.