[Gambas-user] Highlight text on Editor

David Villalobos Cambronero david_villalobos_c at ...43...
Wed May 14 21:54:29 CEST 2008


Jejeje, It will be hard.

Bu I think I got an idea.... let's hope it works... :-)

Anyway, thanks

David

----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Wednesday, May 14, 2008 1:48:09 PM
Subject: Re: [Gambas-user] Highlight text on Editor

On mercredi 14 mai 2008, David Villalobos Cambronero wrote:
> Hi all,
>
> Does someone knows how to highlight a word on the editor?
>
> For example, highlight HTML tags is "easy" since all of them start and end
> with < or >, but how can I highlight a word like, INSERT, KEY, TABLE, etc?
>
> Any idea?

A lot of elbow grease inside the Highlight event.

>
> Benoit, how do you highlight the Gambas keywords?

Gambas highlighting is hard-coded into the gb.qt.ext and the gb.eval 
component. It is not done in Gambas.

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



      




More information about the User mailing list