Exports text from edit control to a buffer in RTF format.
Use this method to export text from edit control to a text buffer in RTF format preserving syntax coloring.