[Gambas-user] Regexp based highlighting

Benoît Minisini gambas at ...1...
Wed Apr 25 20:51:32 CEST 2012


Le 25/04/2012 20:24, tobi a écrit :
> Hi,
>
> it's some time since I last used the Highlight class together with the gb.qt4.ext Editor and I
> personally found it quite painful in the beginning. I hope, I did nothing wrong when I constructed a
> large Editor_Highlight() handler?
> However, my question is about a Regexp based Highlighting. Does it already exists?

In Gambas ? No.

> A sample I can
> provide for that, is vim. I think about implementing that (at least) when I extend the gb.ncurses
> component to TextBoxes and stuff (what the ncurses forms library provides), it may be of help in the
> GUI world, too, I'm almost sure.

Good idea.

> Remarks? (From Benoît perhaps? I saw that there exist several Highlight* classes that do the job for
> quite some languages, so I _suppose_ that there's no such automatism?)
>
> Regards,
> Tobi
>

-- 
Benoît Minisini




More information about the User mailing list