The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: lamer on May 19, 2005, 09:32:59 PM

Title: Keywords not included
Post by: lamer on May 19, 2005, 09:32:59 PM
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.
Title: Re: Keywords not included
Post by: KetilO on May 20, 2005, 06:58:05 AM
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
Title: Re: Keywords not included
Post by: lamer on May 20, 2005, 07:57:14 AM
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.
Title: Re: Keywords not included
Post by: KetilO on May 20, 2005, 08:34:02 AM
Hi

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

KetilO
Title: Re: Keywords not included
Post by: lamer on May 20, 2005, 11:57:41 AM
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]
Title: Re: Keywords not included
Post by: KetilO on May 20, 2005, 01:20:12 PM
Thanks

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

KetilO
Title: Re: Keywords not included
Post by: lamer on May 20, 2005, 08:52:17 PM
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]
Title: Re: Keywords not included
Post by: KetilO on May 22, 2005, 06:47:40 PM
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