I selected Language -> S -> Shell for a Linux shell script I'm viewing/editing. Some portions have this red font with blue background which is hard for me to read. To change this, I went to Settings -> Style Configurator, but to my dismay "Shell" is not listed as one of the languages.
Why is "Shell" not listed?
If "Shell" is not listed, how do I change the color scheme for "Shell"?
How do I find what kind of text is marked with red font and blue background/highlight?
A script can use escape sequences to produce colored text on the terminal. Colors for text are represented by color codes, including, reset = 0, black = 30, red = 31, green = 32, yellow = 33, blue = 34, magenta = 35, cyan = 36, and white = 37.
Open your Notepad++ and select 'Settings' on the menu bar and then go to 'Style Configurator. ' Select downloaded theme from the dropdown menu. Click on Save and Close.
\e[ : Start color scheme. x;y : Color pair to use (x;y) $PS1 : Your shell prompt variable. \e[m : Stop color scheme.
Try, from the Menu Bar,
Settings > Style Configurator > bash
If that doesn't work I'd reach out to the n++ forums, https://sourceforge.net/p/notepad-plus/discussion/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With