Hi,
1) How to use this function:
REM_SETWORDGROUP
REM_GETWORDGROUP

It seem that we can set up to 15 wordgroup which we can use for 15 different of file type.
In MasmEd, you set to zero in *.asm & *.inc and 1 in *.rc.
Is it possible: *.asm & *.inc is 0, *.rc is 1, *.html is 2, *.asp is 3, *.php is 4?
If can how to set up in kwcol, C0, C1, ... C15?

2) Syntax highlighting in *.lst file. Please see the attachment.

Thanks

Regards
Attachments:
Posted on 2005-08-03 08:24:29 by QS_Ong
Hi

1. Easy. You must check the filename extention and set the wordgroup by sending a REM_SETWORDGROUP message.
You can have up to 16 wordgroups (0-15).

2. Thats the rule, not possible to change (dont want AH hilited as a hex number)
Changing the numbers color to match the text color is the only way.

KetilO
Posted on 2005-08-04 02:28:36 by KetilO
Hi,

1. Easy. You must check the filename extention and set the wordgroup by sending a REM_SETWORDGROUP message.
You can have up to 16 wordgroups (0-15).

What I mean is if I set the *.html as word group 3, how to connect C0, C1...,
For *.asm file, C0 = register, C1 & C2= instruction, C3 = FPU instruction, C4 = MMX instruction, C5 = RC file
If *.html file I set as word group 3, do I need to make a new C0 = "<a> </a>", C1 = "span ..." in order to highlight <a>, </a> etc.

Regards
Posted on 2005-08-04 09:11:05 by QS_Ong
Exactly, but you would probably call it something else than C0 etc
When sending the REM_SETHILITEWORDS the high byte of the color is the wordgroup.

KetilO
Posted on 2005-08-04 09:37:53 by KetilO