Set style of LF/CR and similar characters?
-
In the Global Styles settings there are a variety of “classes” you can adjust, like Fold Margin and White space symbols.
I am trying to figure out how to set the style of the whitespace characters that appear when you turn on Show All Characters. Some of these are spaces and other “common” whitespace, but this also turns on CRs and LFs and similar.
In my mind these SHOULD follow the White space symbol settings, but they do not, they are 100% alpha black, which makes reading the document difficult.
Am I missing a setting for this? Or should I report this as a bug?
UPDATE: I selected the “help” forum for this, but it posted it here. Sorry!
-
It’s been complained about before, but it is something that isn’t under Notepad++'s control. Notepad++ embeds the “Scintilla” editing component, and IIRC, the developers on that have denied the request of making the line-ending stuff less “heavy”.
-
Wow. That’s… odd. I have added a feature ticket to their SF page, let’s see what they say.
-
@Maury-Markowitz said:
when you turn on Show All Characters
You do realize there are other options to this that DON’T get the heavy line-ending characters turned on as well, right?
-
I remember that I’ve read something like that in the past. But what is with the styles? It seems that Notepad++ ignores some of them totally or at least partially (e.g. only follows the foreground color setting).
-
@dinkumoil said:
But what is with the styles?
If I understood it myself I would certainly explain it to you. That stuff makes my head hurt. :(
-
@Maury-Markowitz said:
I have added a feature ticket to their SF page
A link would’ve been nice, but:
https://sourceforge.net/p/scintilla/feature-requests/1308/Trying Scintilla’s own testbed editor, the line-endings there seem a bit less “heavy” compared to Notepad++ (see below)…maybe they have made this configurable at some point, and Notepad++ just isn’t taking advantage of that??
-
@Alan-Kilborn said:
It’s been complained about before
Here’s the earlier complaint I mentioned: No selectable color for EOL symbols (+request: nicer EOL symbols, paragraph symbol)
Someone over at Scintilla pointed it out that it is a long-standing issue (since 2015), and, like I said earlier, isn’t being worked on. See here.
-
@Alan-Kilborn said:
You do realize there are other options to this that DON’T get the heavy line-ending characters turned on as well, right?
I am specifically looking for line endings, however, and very specifically space-followed-by-crlf.
But I did not know that, so what is the option?
-
@Maury-Markowitz said:
so what is the option?
All I meant was that you only spoke of the
View All Characters
option. I wasn’t sure if you noticed the other choice that doesn’t get you the “heavy” line-endings, specificiallyView Whitespace and TAB
.if you need to look for a space followed by a line-ending, I’d suggest a search rather than visual inspection:
Bring up the Find window (ctrl+f).
Find what box:\x20\R
Search mode: Regular expression
Press the Find All in Current Document button.