comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: highlight text in text widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: highlight text in text widget [message #66098] Thu, 02 April 2009 15:33 Go to previous message
neon is currently offline  neon
Messages: 9
Registered: October 2005
Junior Member
hmm ok. I guess I have to seek a different route. I've now implemented
a kind of a filter. so displays only the ones that match the keyword.
It would have been a lot easier if the selection worked as my text
widget is also editable.

Thanks for the help,
--
Nirbhik

On Apr 2, 4:16 pm, mgalloy <mgal...@gmail.com> wrote:
> neon wrote:
>> Hi,
>> I am trying to make widget that displays text. I also want a search
>> keywords available. The way I have envisioned is something similar to
>> emacs search, i.e. it highlights all the occurrences of the keyword
>> that you are interested in. I am trying to find out if that kind of
>> highlighting be done in widget_text or some other widgets. Can anyone
>> help?
>
>> Thanks
>
> The only option I know of is the SET_TEXT_SELECT keyword to
> WIDGET_CONTROL. But this only allows a single selection. (Further calls
> always clear the selection first.)
>
> Mike
> --www.michaelgalloy.com
> Associate Research Scientist
> Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can this be done using array operations instead?
Next Topic: netCDF-4 support in IDL?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 02:48:17 PDT 2025

Total time taken to generate the page: 0.40313 seconds