Search code examples
delphiwinapicharacterricheditnon-printable

How do I display non printable chars in rich edit?


is there a way how to display any of the non-printable characters in TRichEdit control ? Or at least paragraph at the end of each line ?

I've made a quick preview to the rich edit messages but can't see anything specific for this purpose. I'm just curious about it hoping there's a cleaner way than replacing chars (at least for that paragraph).

Thanks


Solution

  • There is no such feature in TRichEdit.

    If you had TRichView you could just set rvoShowSpecialCharacters in the RichViewEdit.Options, and then call RichViewEdit.Reformat.