Community
    • Login

    Change colors in console window open after Find All in Current Document

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    16 Posts 5 Posters 2.5k 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.
    • Alan KilbornA
      Alan Kilborn @guy038
      last edited by

      @guy038 said:

      last N++ version which correctly handles the Selected Line style, of the pseudo-language Search Result, seem to be the v5.7 release ! With the next release, v5.8, the highlighting, when double-clicking, in the Find Result panel, does not work

      Of course you are correct. You win some sort of detective award for this effort. :)

      It is good to know the history, but I find that with this change from v7.5.7:

      Make caret line always visible on click from Finder panel.

      that the Selected Line style really isn’t that necessary anyway. What do you think?

      1 Reply Last reply Reply Quote 3
      • Steven HaymesS
        Steven Haymes @Alan Kilborn
        last edited by

        @Alan-Kilborn,

        Thanks,

        Style Configurator -> Language -> Search results did the trick.

        One thing that I am curious about is if highlight overlays are cumulative? For example, if my current line is RGB 50 50 50 for a dark gray and my selected text is RGB 100 100 100 for a less dark gray, it appears that in the area of overlap, the line is actually lighter than 100 100 100 and more like 150 150 150 for a medium gray.

        Has anyone seen this?

        Thanks,

        Steve

        1 Reply Last reply Reply Quote 2
        • PeterJonesP
          PeterJones
          last edited by

          @Alan-Kilborn said:

          the Selected Line style really isn’t that necessary anyway. What do you think?

          If none of us power-users had noticed that particular highlighting was missing since v5.8 (or at least it hadn’t bothered us enough to say anything), then it’s probably not necessary. :-)

          1 Reply Last reply Reply Quote 2
          • PeterJonesP
            PeterJones
            last edited by PeterJones

            @Steven-Haymes said:

            it appears that in the area of overlap, the line is actually lighter than 100 100 100 and more like 150 150 150 for a medium gray.

            Yeah, it wouldn’t surprise me if it did apply some combo of the various highlight overlays – I don’t know whether it’s a linear combo, though. (Obviously, at some point, it stops, since it won’t go over 255 255 255… :-))

            But if you told me that those two grays were different, I wouldn’t disagree with you. (My greyscale distinguishing isn’t great… and I’m often using NPP over a remote desktop connection, and colors don’t make it through the tunnel unaffected.)

            1 Reply Last reply Reply Quote 2
            • guy038G
              guy038
              last edited by

              Hi, @steven-haymes, @alan-kilborn, @peterjones, and All,

              @peterjones

              I did notice that difference, a long time ago. But, both, I’ve been able to live, with that regression, up to now and I was not courageous enough to post an issue, on GitHub ;-))

              @alan-kilborn

              You’re right ! Current line, in the Find Result panel, has a light background color, anyway ! This gives me an idea for a possible work-around, in order to easily localize the double-clicked line :-))

              Just change the background color of the Current line background color style, of the pseudo-language Search result, to a darker color ;-)). For instance, you could choose, in a RGB notation :

              • A Violet color : 255,160,255

              • A Blue color : 128,160,255

              • A Yellow color : 255,255,96

              Of course, doing so, prevents you from changing the foreground color of text. However, I verified that, even if you open successive Find result panels, by right-clicking and choosing the Find results in these found results option, the current line is still highlighted, with this darker color !

              Cheers,

              guy038

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

                @guy038 said:

                idea for a possible work-around, in order to easily localize the double-clicked line

                Can you elaborate more on how this is advantageous? To me it just sounds like changing out one color for another, with no “improvement” in functionality. Clearly I am missing the point…it happens. :)

                1 Reply Last reply Reply Quote 1
                • guy038G
                  guy038
                  last edited by guy038

                  Hi, @alan-kilborn and All,

                  • With the v4.9.2 release, by default :

                  • With the v5.7 Unicode release, by default :

                  • With the last v7.7.1 Unicode release, by default :


                  Obviously, it easier to localize the double-clicked line, of the Find Result panel, in the first two pictures than in the third one ;-))

                  Indeed, my work-around is not complicated at all ! I just made the current line background color darker, in order to simulate the selected line style, which does not work, anymore !

                  So, for instance, with a darker yellow, we get the 4th picture, below, which is better visible than in the 3th picture above ;-))


                  • With the last v7.7.1 Unicode release, after modification of the background color of Current line background style of the Search result language :

                  Cheers,

                  guy038

                  Alan KilbornA Steven HaymesS 2 Replies Last reply Reply Quote 3
                  • Alan KilbornA
                    Alan Kilborn @guy038
                    last edited by

                    @guy038

                    Oh, OK, it IS just a color change. I thought you had some magic whereby you achieved some additional functionality. :)

                    Thanks for clarifying, and the images.

                    1 Reply Last reply Reply Quote 2
                    • Steven HaymesS
                      Steven Haymes @guy038
                      last edited by

                      @guy038

                      “Indeed, my work-around is not complicated at all ! I just made the current line background color darker, in order to simulate the selected line style, which does not work, anymore !”

                      I suspected that the selected line style was not working, thanks! My custom theme has a black background, so I already achieved the same result as you by going lighter instead.

                      Steve

                      1 Reply Last reply Reply Quote 3
                      • Reggie WherryR
                        Reggie Wherry
                        last edited by

                        Console Editing for Notepad++:

                        plugins/npp exec/ change console font

                        this path changes the console’s font, font style, and size.

                        plugins/npp exec/advanced options

                        This path changes the color of the fonts in the terminal.

                        PeterJonesP 1 Reply Last reply Reply Quote 0
                        • PeterJonesP
                          PeterJones @Reggie Wherry
                          last edited by

                          Sorry, @Reggie-Wherry,

                          You have misunderstood the question from 6 years ago. They were asking about the Search Results panel; your answer is talking about how to change settings for the NppExec plugin’s console panel, so is irrelevant to the original, already-answered question.

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