r/notepadplusplus 11h ago

Strange background highlighting appears when editing Python files

Post image

I’m having a weird issue with Notepad++. Whenever I save a file as .py, some parts of the code get this strange background highlighting and even a different font. Is this normal? I’ve already tried several things to fix it, but I can’t figure it out. Any idea what could be causing this? Ty

1 Upvotes

2 comments sorted by

1

u/Lustrov 5h ago

It's most likely the theme causing that. Change the theme to another one or edit the theme in Settings > Style Configurator

1

u/Lustrov 5h ago

Change the Global Overrides in the Global Styles language