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.
    • Maury MarkowitzM
      Maury Markowitz
      last edited by Maury Markowitz

      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!

      Alan KilbornA 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Maury Markowitz
        last edited by

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

        dinkumoilD 1 Reply Last reply Reply Quote 1
        • Maury MarkowitzM
          Maury Markowitz
          last edited by

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

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @Maury Markowitz
            last edited by

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

            Maury MarkowitzM 1 Reply Last reply Reply Quote 0
            • dinkumoilD
              dinkumoil @Alan Kilborn
              last edited by

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

              Alan KilbornA 1 Reply Last reply Reply Quote 1
              • Alan KilbornA
                Alan Kilborn @dinkumoil
                last edited by

                @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
                • Alan KilbornA
                  Alan Kilborn @Maury Markowitz
                  last edited by Alan Kilborn

                  @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
                  • Alan KilbornA
                    Alan Kilborn
                    last edited by

                    @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
                    • Maury MarkowitzM
                      Maury Markowitz @Alan Kilborn
                      last edited by

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

                      Alan KilbornA 1 Reply Last reply Reply Quote 0
                      • Alan KilbornA
                        Alan Kilborn @Maury Markowitz
                        last edited by Alan Kilborn

                        @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
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors