News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Keywords not included

Started by lamer, May 19, 2005, 09:32:59 PM

Previous topic - Next topic

lamer

Hi,KetilO!
Why are not many keywords - like HINSTANCE, HFONT, HBRUSH and many others - catched by RadASM? I mean, if I declare variable of this type in .data section  - the intellisence does not recognize them. They are also not colorized. Of course, I can add them to list of colorized keywords, but then:
1. each variable, named hFont or hBrush will be colorized as well
2. they still are "out of" intellisence, while declared in .data section
But if they are declared as LOCAL - everything is OK.

KetilO

Hi

To make a keyword case sensitive, prefix it wit a ^
Example: ^HINSTANCE ^HFONT

The masmType.api list is also not complete. You must add the data types you use to the list.

Also check the masm.ini file:
[Api]
Type=Masm\masmType.api

KetilO

lamer

Thanks!
QuoteAlso check the masm.ini file:
[Api]
Type=Masm\masmType.api
There was no such entry at all!
I think this is not just my problem, because I have never changed the file, just downloaded it with the last full RadASM download.

KetilO

Hi

If you update masmType.api, could you post it here?

KetilO

lamer

Sure.
I have added some values - "my portion" starts from HCURSOR
I'll try to add more later.
Please, check that I do it right


[attachment deleted by admin]

KetilO

Thanks

Looks great. Feel free to change the description of those alredy there.

KetilO

lamer

OK, this is a full list of types, as it appears in Win32 help. :cheekygreen:
Be sure to backup the old masmType.api before processing.
Enjoy!


[attachment deleted by admin]

KetilO

Thanks.

Works well this far, and with plenty of description on each data type.
I will test a little more before putting it on my website.

KetilO