The MASM Forum Archive 2004 to 2012

Specialised Projects => Custom Interface Components => Topic started by: msmith on May 09, 2006, 06:13:21 AM

Title: RAEdit Request
Post by: msmith on May 09, 2006, 06:13:21 AM
Ketil,

I realy like RAEdit and use it in my main editor every day.

The one problem I have is the rule for colorizing text after a '.'.

For example, if I set up the word 'text' to be red, it will do so just fine. But when it is preceeded by a "." it will not colorize.

In the case of:

Control1.text

the word 'text' will not colorize.

Thanks,

Mike
Title: Re: RAEdit Request
Post by: KetilO on May 09, 2006, 07:15:31 AM
Hi Mike

Use REM_SETCHARTAB and define '.' as CT_OPER

invoke SendMessage,hREd,REM_SETCHARTAB,'.',CT_OPER

KetilO
Title: Re: RAEdit Request
Post by: msmith on May 10, 2006, 12:50:01 AM
Ketil,

I tried your fix, but it has no effect.

I also tried:

invoke SendMessage,[hREd],REM_SETCHARTAB,02eh,CT_OPER to no avail.

(The square brackets on the handle and the plain 02eh are because I am using FASM)

I also tried CT_NONE.

I noticed that the CT_OPER or CTNONE are returned in eax.

I even went into RAEdit.dll with a hex editor and changed 0de2eh from a 03 to 02. Still no good.

Thanks,

Mike
Title: Re: RAEdit Request
Post by: KetilO on May 12, 2006, 12:47:00 PM
Hi

Try this version. It should work better.

KetilO

[attachment deleted by admin]
Title: Re: RAEdit Request
Post by: msmith on May 12, 2006, 06:41:11 PM
Ketil,

This one works fine.

Thank you very much.

Are there any other changes/fixes/features?

Thanks again,

Mike