IDE shows that even 1st click calls MouseDown which calls SetFocus. but this does not call DoEnter method of ATSynEdit! so ATSynedit does not set flag FIsEntered and this disables the caret blinking.
2nd click - calls DoEnter.
making the workaround: calling DoEnter in MouseDown, is not OK. it gives problems - 2 input fields can have focused-blue-border at the same time (e.g. code-tree fiter and console input).
Lazarus bug. gtk2 version is ok.
IDE shows that even 1st click calls
MouseDown
which callsSetFocus
. but this does not callDoEnter
method of ATSynEdit! so ATSynedit does not set flagFIsEntered
and this disables the caret blinking. 2nd click - callsDoEnter
.