notepad++ user defined background colour

I'm trying to use a custom syntax highlighter, but I can't set the background colour.

This is wrong, how do I colour the empty background / white space, per file type not a global override?


  1. Click Settings, Style Configurator.
  2. In the right half of the pane for "Global Styles: Global override" click the color box next to background color to choose your color.
  3. Check the box that says "enable global background color"

While browsing for something similar myself, I've found a possible aid to this problem.

In the user-defined language style configuration menu (found under Language > Define your language...), you can right click the color panel, and it will become hatched. This allows it to simply use the default coloration for this section.

Unfortunately, I don't yet see a way to define a background color specific to a user-defined language.

Example:

Screenshot link

Credit for this solution comes from this thread.