Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 TRichEdit 控件中显示任何不可打印的字符?或者至少在每行末尾的段落?
我已经快速预览了丰富的编辑消息,但看不到任何特定于此目的的内容。我只是对它感到好奇,希望有一种比替换字符更清洁的方法(至少对于那段来说)。
谢谢
TRichEdit 中没有这样的功能。
如果你有TRichView,你可以在 中设置rvoShowSpecialCharacters,RichViewEdit.Options然后调用RichViewEdit.Reformat.
rvoShowSpecialCharacters
RichViewEdit.Options
RichViewEdit.Reformat