[Gambas-user] Editor.Lines[0].Refresh() does not trigger custom Highlight event

Benoît Minisini gambas at ...1...
Sat Mar 9 19:34:57 CET 2013


Le 09/03/2013 18:10, Tobias Boege a écrit :
> Hi,
>
> the attached project shows how just for line 0, the
> Editor.Lines[0].Refresh() method does not force the Highlight event to kick
> in (if I have Editor.Highlight = Highlight.Custom set).
>
> Is there a reason or is it just a bug?
>
> Regards,
> Tobi
>

Refresh() just triggers a GUI redraw. It has nothing to do with the 
Highlight event, that is raised when the editor decides.

-- 
Benoît Minisini




More information about the User mailing list