[lazarus] mwEdit TODO
Curtis White
osiriz at teleport.com
Tue Nov 9 10:21:22 EST 1999
Yesterday, I went through and cleaned up all the mwEdit code. Several of the
compatibility issues had been fixed in FPC, so I was able to remove many of the
IFDEF's. I also worked on the beta version and have it very close to compiling.
I checked everything into CVS.
As I went through the code, I documented all the things that need to be done to
get mwEdit working under Linux with FPC. Here is the list I came up with.
mwcustomedit.pas
1) Fix the following which does not work for some reason:
Font.OnChange := @FontChanged
2) Write the implementation for LoadFromResourceName to load the Mark bitmaps.
3) Write a replacement function for the following Windows functions:
GetObject
CreateFontIndirect
GetDC
SelectObject
GetTextMetrics
ReleaseDC
DeleteObject
HideCaret
GetSystemMetrics
ExtTextOut
ShowCaret
SetCaretPos
SetScrollInfo
ShowScrollBar
4) Fix Draw method parameter list of TImageList to match Delphi parameter list.
5) Create a way to perform the following action:
inherited Font := Value
where Value is a TFont.
6) Add Pitch to the TFont object.
7) Write a RecreateWnd method.
8) Create the following methods in the parent object (TCustomControl):
WMKillFocus
WMNCHitTest
WMSetFocus
WMSize
mwhighlighter.pas
1) Write Registry or Ini file code to replace RegOpenKeyEx.
mwpassyn.pas
1) Fix compiler bug so it will call a function that is being pointed to by an
array variable.
Note that these are the things that need to be done to get the release version
working. I haven't documented the things that need to be done to get the beta
version working, but I expect they will be very similar. If we get the above
items working, then it probably won't take much more to get the beta version
working.
Anyone who wants to start working on these things, please feel free to jump in
and help out. We need to get these things fixed (or figure out other ways to do
them) in order to get mwEdit working in Linux.
Thanks....Curtis
More information about the Lazarus
mailing list