• Login
Community
  • Login

Set style of LF/CR and similar characters?

Scheduled Pinned Locked Moved General Discussion
10 Posts 3 Posters 4.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Maury Markowitz
    last edited by Maury Markowitz Aug 16, 2019, 1:52 PM Aug 16, 2019, 1:49 PM

    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!

    A 2 Replies Last reply Aug 16, 2019, 1:52 PM Reply Quote 0
    • A
      Alan Kilborn @Maury Markowitz
      last edited by Aug 16, 2019, 1:52 PM

      @Maury-Markowitz

      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”.

      D 1 Reply Last reply Aug 16, 2019, 2:34 PM Reply Quote 1
      • M
        Maury Markowitz
        last edited by Aug 16, 2019, 2:27 PM

        Wow. That’s… odd. I have added a feature ticket to their SF page, let’s see what they say.

        A 1 Reply Last reply Aug 16, 2019, 3:22 PM Reply Quote 0
        • A
          Alan Kilborn @Maury Markowitz
          last edited by Aug 16, 2019, 2:33 PM

          @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?

          M 1 Reply Last reply Aug 19, 2019, 8:09 PM Reply Quote 0
          • D
            dinkumoil @Alan Kilborn
            last edited by Aug 16, 2019, 2:34 PM

            @Alan-Kilborn

            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).

            A 1 Reply Last reply Aug 16, 2019, 2:35 PM Reply Quote 1
            • A
              Alan Kilborn @dinkumoil
              last edited by Aug 16, 2019, 2:35 PM

              @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. :(

              1 Reply Last reply Reply Quote 2
              • A
                Alan Kilborn @Maury Markowitz
                last edited by Alan Kilborn Aug 16, 2019, 3:22 PM Aug 16, 2019, 3:22 PM

                @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??

                Imgur

                1 Reply Last reply Reply Quote 1
                • A
                  Alan Kilborn
                  last edited by Aug 18, 2019, 12:51 PM

                  @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 .

                  1 Reply Last reply Reply Quote 2
                  • M
                    Maury Markowitz @Alan Kilborn
                    last edited by Aug 19, 2019, 8:09 PM

                    @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?

                    A 1 Reply Last reply Aug 19, 2019, 8:16 PM Reply Quote 0
                    • A
                      Alan Kilborn @Maury Markowitz
                      last edited by Alan Kilborn Aug 19, 2019, 8:18 PM Aug 19, 2019, 8:16 PM

                      @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, specificially View 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.

                      1 Reply Last reply Reply Quote 2
                      5 out of 10
                      • First post
                        5/10
                        Last post
                      The Community of users of the Notepad++ text editor.
                      Powered by NodeBB | Contributors