Notepad++ has a convenient feature: if you select a word in your text (not necessarily a keyword), the word is highlighted throughout the text. Can this be done in Emacs as
The hi-lock
suggestions are good. I think it's easier to use the M-x versions, though:
M-x highlight-regexp
RET <REGEXP>
M-x highlight-phrase
RET <REGEXP>
highlight-phrase
is just a bit of sugar around highlight-regexp
that ignores case and translates a space in the regex to match arbitrary whitespace. Handy.