[Gambas-user] Highlight Multiple words in TextEdit

Benoit Minisini gambas at ...1...
Mon Apr 21 14:00:57 CEST 2008


On lundi 21 avril 2008, MaxVK wrote:
> Benoit Minisini wrote:
> > I have the same answer. What you need is a full text processor control.
> >
> > If only OpenOffice guys have developed such a thing instead of a
> > monolithic
> > application!
> >
> > --
> > Benoit Minisini
>
> Hi Benoit, Iv been hunting around for a hack to try and make this work (its
> great in tables but not too clever if you only want to highlight a single
> word!) and I found qrichtext.cpp at trolltech. There is a Misspelled
> property. Is it possible to get this to work in the TextEdit control, or am
> I way off the mark here?
>
> Cheers
>
> Max

I thought about that, but it won't work in gb.gtk TextEdit, so...

But in QT4, it is possible to have a background color for each character, so 
this is not hopeless!

-- 
Benoit Minisini




More information about the User mailing list