Question about Notepad++ 8.6.5 and 32bit colors and transparency for cursor line
-
In Notepad++ 8.6.5 there was an update for 32bit colors in the preferences, see here and I was wondering if this was supposed to make it possible to select a transparent color for the caret line in the latest version Notepad++?
In Notepad++ 8.6.5 in the Style Configuration dialog, when selecting “Current line background” I can only change the background color, not the foreground color. Ok this makes sense. But when I change the color I can select any RGB value but no Alpha or transparency value.
I thought the term “32bit color” implied that it also include Alpha value, or am I interpreting this incorrectly?
The reason I ask is because of problems with the CSV Lint plug-in and the option it has to make the caret line transparent. This causes issues when combined with the ComparePlus plug-in, and can cause the line to become opaque black.
If the latest version of Notepad++ supports a transparent caret-line by default, then I could drop this option entirely in the CSV Lint plug-in.
-
Btw as far as I know ComparePlus and CSV Lint are the only plug-ins that change the transparency of the caret-line. This is because those are also the only plug-ins that use background colors for syntax styling.
All the default language (almost) never use a background color other than white(ish), that’s why an opaque caret line color has never been an issue.
For example, if you look at the stylers.model.xml file Perl is one of the few that uses background colors to style the strings-in-backticks.