I've written a script in Notepad++, and I want to highlight individual lines based on who is speaking. I'm just trying to find a place where I can change text color or background color for individual lines. Is there anything built into Notepad++ that does that?


The current solution I'm using:

  1. Drop-down: View->User Defined Languages
  2. Create keyword (character's indicator).
  3. Change the background color.

It highlight's the character's name in other places in the text, though. An undesired but unobtrusive side-effect. No highlight feature I can find, unfortunately.

| improve this answer | |

1.Select the text you want to highlight

  1. Right click on it

  2. Go to 'Style Token' and select any style

| improve this answer | |
  • The OP wants to highlight the entire text (or at least a large portion of it) but in several different colors. Can you explain how they can use your suggestion? … … … … … … … … … … … Please do not respond in comments; edit your answer to make it clearer and more complete. – G-Man Says 'Reinstate Monica' Apr 2 at 6:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.