Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Set style of LF/CR and similar characters?

    General Discussion
    3
    10
    3852
    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 Markowitz
      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 Kilborn 2 Replies Last reply Reply Quote 0
      • Alan Kilborn
        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”.

        dinkumoil 1 Reply Last reply Reply Quote 1
        • Maury Markowitz
          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 Kilborn 1 Reply Last reply Reply Quote 0
          • Alan Kilborn
            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 Markowitz 1 Reply Last reply Reply Quote 0
            • dinkumoil
              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 Kilborn 1 Reply Last reply Reply Quote 1
              • Alan Kilborn
                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 Kilborn
                  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 Kilborn
                    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 Markowitz
                      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 Kilborn 1 Reply Last reply Reply Quote 0
                      • Alan Kilborn
                        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
                        Copyright © 2014 NodeBB Forums | Contributors