when you move the mouse over RAEdit window , MdiChild window receives new WM_Notify message and RASELCHANGE.chrg points to char under mouse cursor (not raedit cursor).
is it a bug or future? ; if it's a feature ; how i can obtain lineindex and charpos of RAEdit cursor.

because codecompletion islinecoinvoke proc works on line pointed by RASELCHANGE.line, Combobox shows/hides erratically.

k
--
Posted on 2003-08-17 08:54:48 by kamilh
Hi kamilh

It's a bug. I will fix it.

KetilO
Posted on 2003-08-17 12:50:18 by KetilO
Hi kamilh

Fixed.
Download here.

KetilO
Posted on 2003-08-18 04:09:11 by KetilO
Hi Ketilo, another probleme on the same subject :

When "." or "," pressed inside edit window MdiChildProc receives one correct WM_NOTIFY message, later comes another WM_NOTIFY with
.RASELCHANGE.chrg.cpMin=.RASELCHANGE.cpLine (cursor points to start of line).

should i use .RASELCHANGE.fchanged flag, is it possible to receive false positions if not used?
Posted on 2003-08-28 04:54:59 by kamilh
Hi kamilh

EM_EXSETSEL results in a WM_NOTIFY message beeing sent.
Since RadASM often sets the selection you will get several 'false' WM_NOTIFY messages.
Using RASELCHANGE.fchanged flag seem like a good idea.

KetilO
Posted on 2003-08-28 05:45:33 by KetilO
Thnks Ketilo,

When Code Editor Options - Word List Case Convert Options is disabled, i dont get any false notifys.
Posted on 2003-08-28 06:52:35 by kamilh