Jonathan Wilson wrote:

I could take the WINE implementation of notepad.exe (which is clearly a "clone" of an older version of notepad, probobly from Windows 98 or ME or 2000 or something) and add to it so it does the same things or similar things as the windows XP notepad.
Some of the differences between XP notepad and Wine notepad:
the file size limit is gone (because microsoft re-wrote the edit control to not have a size limit I guess)
the "page setup" and "print setup" dialogs are combined into one dialog now with new code to handle that.
A few slight differences between the UI of both (for example the Cut and Copy items are disabled if there is nothing selected, something wine notepad doesnt do)
Wrap Ling Lines (in Wine notepad) is moved to a new Format menu in Windows XP notepad and is called Word Wrap. Also, the Font menu item is moved for the Format menu.
Find and Find Next are moved to the Edit menu and renamed from Search and Search Next. Also, a Replace option and a Go To option (goes to a specific line) have been added.
And, the Save and Save As dialogs have an "encoding" selection box that lets you select
And, the print function has a "now printing" dialog.
Also (obviously), the help system is better in Windows XP notepad.


Basicly, I plan to implement some of these things (but I wont do the help system since thats something I know nothing about) to make wine notepad more like windows XP notepad (in particular, adding the Replace and Go To features)

I am taking this on because I want to improve my skills at working with the Win32 API.
Basicly, I want to know:
1.is this something usefull to the Wine project?
and 2.is there anything I should avoid doing for whatever reason? (for example, are there things I cant do because they would violate MS IP or something)

As far as I'm concerned, you left out the most important thing WinXP's notepad does, which is that it is unicode. That's the most important improvment missing.


You are welcome to put in your additions (though the 64K limitation, if it indeed exists in Wine's notepad, should be fixed at the Edit control level, and not notepad). There is no explicit attempt, however, to mimic notepad for Windows, just it's functionality, where apropriate.

Shachar

--
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/





Reply via email to