(no title)
canucker2016 | 4 days ago
The RichEdit control handles parsing RTF (I believe there was a CVE-level bug about RTF-handling in RichEdit - ahh - here we go https://www.kb.cert.org/vuls/id/368132/), the programmer/app is insulated from grokking RTF.
Here's sample code for opening an RTF file - https://learn.microsoft.com/en-us/windows/win32/controls/use...
Adding realtime conversion of text-only Markdown to the processed-richtext Markdown is slightly more difficult than an instant message-type edit control converting a text :) to a unicode emoji character representing :)
You'd have some bookkeeping to remember which lines are markdown and which are plain text. But it's not rocket science.
Imagine Win11-Notepad as WordPad with all the UI for rich text formatting disabled.
projektfu|3 days ago
canucker2016|2 days ago
Exchange 4.0 email client app (shipped in 1996) had a Win16-bit version which included RichEdit.
see https://learn.microsoft.com/en-us/archive/blogs/murrays/rich...