notepad and richedit - why?

Shachar Shemesh wine-devel at
Wed Nov 6 22:41:03 CST 2002

I'm trying to revamp notepad a little. In particular, I'm trying to add 
the "select font" option to it. This is problematic under the RICHEDIT 
control, as each character there can, potentially, have it's own font.

In addition to that, I see such programs as an important tool to unit 
test various components (in this case - the edit control). As a result, 
I am wondering whether anyone minds renaming the current notepad to 
"wordpad", and letting me convert notepad back to EDIT, and add the 
missing stuff? I promise to get around to wordpad later on.


Dmitry Timoshkov wrote:

>"Shachar Shemesh" <wine-devel at> wrote:
>>I was going over the notepad code, and it is implemented using richedit. 
>>My question is - why? There is no functionality there that is not also 
>>available through the usual Edit control. The Windows notepad is 
>>notoriously implemented via the edit control. Is there a special reason 
>>why our notepad is different here?
>Since we had no a way to display .wri and .rtf files provided by many
>applications (readme's, etc.) it was decided to simply extend notepad
>instead of creating a wordpad replacement from scratch.

More information about the wine-devel mailing list