All,
I recently discovered WinASM studio, and I was relieved to learn that it's Open Source. To be honest, I'm not one for IDE's. But, I have to say that I really like the flexibility of WinASM Studio.
I've been running it under Wine, and it seems to run fairly well, except for a few minor issues.
My patch consists of two things. The first is the ODM bug. In MeasureItem, ESI is expected to hold the address of the string to be drawn. In some cases, "Instant New Project" for instance, it tries to lookup the proper string as an index of CHILDWINDOWDATA.szFileName. Perhaps the affected items have the wrong ID, but GetWindowLong is returning 0 there, thus ESI is overwritten with 0x10.
Farther down, when lstrlen and GetTabbedTextExtent are called, it's passing a bad address, with an 'nCount' of 0. On Windows, this safely returns 0, while on Wine it returns a non-zero value, which seriously screws up the height of the affected menu items. I've sent a patch to wine-patches to correct this behavior already, but my patch here will correct the code, so that in the aforementioned case the LEA is skipped, and thus ESI correctly addresses the string to be drawn.
Part two is the implementation of Editor/Line Number font styles. The way this works is fairly simple. It allows the user to select the font 'style' (weight/italic) as well as Underline or Strikeout. This rectifies the issue whereby one might select a font with a default 'Bold' style, and not be able to go back to a 'Regular' style. It also adds the flexibility of selecting these options.
The attached patch is taken against svn r18.
Attached File ( Number of downloads: 24 )
Login or
Register to download