steenhulthin / reStructuredText_NPP

Provides syntax higlighting for reStructuredText for Notepad++ through a user defined language file.
MIT License
59 stars 7 forks source link

Non-white backgrounds #3

Closed flaudanum closed 4 years ago

flaudanum commented 6 years ago

Hello, It seems that the syntax highlight requires a white background. When I use a dark theme, non-blank characters have a white background which makes a weird visual. So I had to switch to the default white background. Thanks

steenhulthin commented 4 years ago

Which theme do you prefer? I think this issue has to be solved with a specific reStructuredText.xml file for dark themes. (Sorry for my very late answer. I have been away open source project for quite some time.)

flaudanum commented 4 years ago

Hi @steenhulthin , The dark theme that I'm using is Darkula. Thanks again for this plugin.

steenhulthin commented 4 years ago

Basic support for dracula theme is now added. 7a8fc9023163a8afcc12076db1938b87e8a52a52 It will be included in next release. For now it can be downloaded here: https://raw.githubusercontent.com/steenhulthin/reStructuredText_NPP/master/reStructuredText_dracula.xml

flaudanum commented 4 years ago

Great job. Thank you! Darcula is a quite popular dark theme. I think it was worth the time. Just so you know the background color of numbers is still white. To me it's OK but if you intend to correct it it's better you know it before the next release. Thanks again.

steenhulthin commented 4 years ago

Thanks for letting me know. I'll look at it for next release. ;)