In Notepad ++
First select the line / words to be highlighted
Go to the Search menu
Select Mark All. There you will find 5 submenus: "using the [1..5] th style".
(using 1st style: blue color). (Second: light brown). (Third: yellow). (4th: purple). (5: green).
However, the highlight will remain only until you open this file in Notepad ++. If you close it, you lose the selection.
source share