On the fly highlighting in text editors [message #10725] |
Mon, 01 June 2009 15:53 |
Eclipse User |
|
|
|
Hi everybody,
I would like to be able to underline or highlight some word in a text
depending on some criteria.
I am not speaking about syntax highlighting (I know how to do this), but
rather about what happens, for example, when I click on a variable name
in a Java editor and all the occurrences of that name are highlighted
using a reverse background. The highlight, then, disappears when the
cursor leaves the zone containing the variable name.
The highlighting process could be lengthy (e.g., like a spellchecker)and
should be triggered at every change in the text so that it appears to be
"live": highlights appears all over the text as soon as they are
calculated and while the user is typing.
Could somebody suggest me where to look in order to do what I described?
Pointers to actual examples are welcome.
Thanks,
Fabio
|
|
|
Powered by
FUDForum. Page generated in 0.04952 seconds