Hacker News new | past | comments | ask | show | jobs | submit login

[flagged]



> I literally could write a WordPad clone in an afternoon

You might be able to make a Notepad clone in an afternoon, but not wordpad.

Creating parsers for all the formats it supports (rtf/doc/html) as well as the renderer/wysiwyg editor would take anyone several days of either coding, or stitching libs together.


The parser and renderer is a pre-existing RichTextEdit widget. Add menus and save, open, and print functionality and you are over 90% of the way to a WordPad clone.


Microsoft used to distribute source code for a WordPad sample app with Visual Studio.

https://github.com/microsoft/VCSamples/tree/master/VC2010Sam...


Opening and saving as .docx would seem to be the only hard part.

I'm assuming that's not built into the widget or into Windows. Is there an open-source drop-in docx<->rtf library out there?


It’s a pre built widget because Microsoft wrote it for WordPad though.


It’s actually likely to be the opposite. WordPad could be a test application for the RichTextEdit widget.


No. The RichText control was written for the Win95/Exchange email client.

Since there was now a RichText control that supported RTF in Windows, the Windows group could write a thin wrapper around the RichText control and replace Microsoft Write with Microsoft WordPad.

Support for Microsoft Word file formats came later once the Word group took over responsibility for the RichText control code.


Man… the backstory behind anything in windows is always some insane mishmash of backwards compatibility, repurposed tooling, and other assorted insanity.


Each feature requires a manager, PM, and dev. WordPad is not free of security vulnerabilities.

No shipping code is free.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: