Community
    • Login

    [Regression] Current line highlight transparency not working

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    macrohighlighttransparencycurrent-line
    8 Posts 3 Posters 1.3k 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.
    • GoblinAlchemG
      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-68A 1 Reply Last reply Reply Quote 0
      • andrecool-68A
        andrecool-68 @GoblinAlchem
        last edited by

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

        GoblinAlchemG 1 Reply Last reply Reply Quote 2
        • GoblinAlchemG
          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-68A 1 Reply Last reply Reply Quote 0
          • andrecool-68A
            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

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

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

              Alan KilbornA 1 Reply Last reply Reply Quote 1
              • Alan KilbornA
                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-68A 1 Reply Last reply Reply Quote 1
                • andrecool-68A
                  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 KilbornA 1 Reply Last reply Reply Quote 0
                  • Alan KilbornA
                    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
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors