Sorry for the extremely bad title. What I’m looking for is the notepad++ feature where I can highlight words on right clicking and choosing one of the 5 styles (so that all instances of that word get highlighted with that color), in some editor in linux (Red hat). I know this might be a stupid request, but I find that it helps me in understanding new code.
Thanks
SciTE can do this. After you install it, create a script named SciTEStartup.lua in your home directory and add the following line in your ~/.SciTEUser.properties file:
After that you can install this script as described and see all occurrences of a word using Ctrl+. (Ctrl+, to clear).