step 2: omg there's demand for features
step 3: turn notepad, whose point was to be a dumb simple thing, into a wordpad
step 4: get a raise because you "solved" the problem
step 2: omg there's demand for features
step 3: turn notepad, whose point was to be a dumb simple thing, into a wordpad
step 4: get a raise because you "solved" the problem
Step 6: GOTO 1.
Make Microsoft Edit a Lightweight 'VS Code for the Terminal' - https://github.com/microsoft/edit/discussions/682
Atleast he has the decency to ask for stuff first and being straight.
Hilarious comment by the way https://github.com/microsoft/edit/discussions/682#discussion...
> I concur, but there are two issues with this: Building the foundation of an editor is way harder than building features later on top of that, and currently it is unlikely that Microsoft will fund me to spend half a year working purely on this project. So, I'll work on this whenever I can, which is not much.
Maybe they're referring to the plugin system they want to implement: https://github.com/microsoft/edit/issues/17
I’m willing to bet that adding markdown to Notepad was a lot simpler than trying to make it work in Wordpad, especially since you’d probably still have to support rich text.
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.
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...
There is configurable syntax highlighting in vscode.
Should an app like Notepad ever embed a WebView? (with e.g. tauri-apps/wry instead of CEF now FWIU)? Not even for a Markdown Preview feature IMHO.