Community

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

    [Regression] Current line highlight transparency not working

    Help wanted · · · – – – · · ·
    macro highlight transparency current-line
    3
    8
    697
    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.
    • GoblinAlchem
      GoblinAlchem last edited by

      The current line highlighting feature is useful, but it becomes misleading if background color is also used in syntax highlighting. A compromise is to use semi-transparent highlighting, or assign an alpha value to the current line background color. To do this, I have found the following instruction in Notepad++ Wiki:

      http://docs.notepad-plus-plus.org/index.php/Current_Line_Highlighting

      I have created a macro which uses the “wParam” parameter to set the alpha value:

      <Macro name="Current line highlight 10%" Ctrl="yes" Alt="no" Shift="yes" Key="72"> 
      <Action type="0" message="2470" wParam="26" lParam="0" sParam="" />
      </Macro>
      

      Since Notepad++ 7.6.4, this macro doesn’t work.

      Should I use different macro code? Is there another way to make the current line highlighting semi-transparent?

      andrecool-68 1 Reply Last reply Reply Quote 0
      • andrecool-68
        andrecool-68 @GoblinAlchem last edited by

        @GoblinAlchem
        Why not just change the highlight color of the current line in “Style Configurator”

        GoblinAlchem 1 Reply Last reply Reply Quote 2
        • GoblinAlchem
          GoblinAlchem @andrecool-68 last edited by

          @andrecool-68, in the style configurator I have specified a custom background color for quoted strings. Now, when the cursor is on a line containing quoted strings, the current line background overrides string background, and strings become harder to see. With the semi-transparency feature both background colors got combined and it looked fine.

          andrecool-68 1 Reply Last reply Reply Quote 0
          • andrecool-68
            andrecool-68 @GoblinAlchem last edited by

            @GoblinAlchem
            You can create a topic with your question here:
            https://github.com/notepad-plus-plus/notepad-plus-plus/issues

            GoblinAlchem 1 Reply Last reply Reply Quote 0
            • GoblinAlchem
              GoblinAlchem @andrecool-68 last edited by GoblinAlchem

              @andrecool-68, already there. And also a feature request.

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

                @GoblinAlchem said:

                already there. And also a feature request.

                So I’m confused…if the inquiries and requests have already been made on the official Notepad++ issues list…since around May 6…why did you open this thread on the forum 6 days ago…?

                andrecool-68 1 Reply Last reply Reply Quote 1
                • andrecool-68
                  andrecool-68 @Alan Kilborn last edited by

                  @Alan-Kilborn said:

                  So I’m confused…if the inquiries and requests have already been made on the official Notepad++ issues list…since around May 6…why did you open this thread on the forum 6 days ago…?

                  Control shot (just in case)

                  Alan Kilborn 1 Reply Last reply Reply Quote 0
                  • Alan Kilborn
                    Alan Kilborn @andrecool-68 last edited by

                    @andrecool-68 said:

                    Control shot

                    At least it appears he is properly attired, with the helmet, for said “control shot”.

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    Copyright © 2014 NodeBB Forums | Contributors