Community
    • Login

    Selected tag background styling

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    10 Posts 2 Posters 6.1k 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.
    • webdevpugW
      webdevpug
      last edited by

      Hello everyone!

      I’m recently moving from v.5.4.5 to the latest version of Notepad++ and stuck on styling settings.
      Maybe you could help me with this:
      In v.5.4.5 the selected tag has the following bg outline: http://imgur.com/aE7lL5k
      While in the latest version of Notepad++: http://imgur.com/U5IrA29

      Quick comparison to make differences more vivid: http://i.imgur.com/lgcwIyW.gif

      As you can see, the selection in v.5.4.5 is more accurate and smooth, with perfect border radius, while in the latest version it’s not.
      Question: if this possible to make the selection in the latest version of Np++ similar to v.5.4.5?
      TIA

      1 Reply Last reply Reply Quote 0
      • webdevpugW
        webdevpug
        last edited by

        Should I try and redirect the question to the dev team iteslf?

        webdevpugW 1 Reply Last reply Reply Quote 0
        • webdevpugW
          webdevpug @webdevpug
          last edited by webdevpug

          So, any thoughts?

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @webdevpug
            last edited by

            @webdevpug
            do you refer to npp 5.4.5 seems to use a squarebox whereas npp6… uses more like a roundbox?
            Then I assume that there should be a difference in the styler.xml?

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 1
            • webdevpugW
              webdevpug
              last edited by

              Hi! Thanks for the answer.
              I’ve tried setting up styler.xml, so in the end it’s almost identical to 5.4.5, yet there are some things that can’t be modified (or I don’t know where it should be changed):

              1. yeap, squarebox (in 5.4.5) with more aliased edges (http://prntscr.com/9hyxfo) VS anti-aliased roundbox (in 6.7+ http://prntscr.com/9hyyhm)
              2. also additional darken colorization is used on active tag: http://prntscr.com/9hyzh0, http://prntscr.com/9hyzo2
                I would really appreciate if you could tell me how to fix this (if possible) :)
              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC
                Claudia Frank @webdevpug
                last edited by

                @webdevpug

                I assume “Tags match highlighting” and “Tags attribute” are the ones which need
                to be modified to solve the darken colorization.

                In regards to the roundbox, I suspect stylid needs to be change but one needs to find
                out which styleid has the straightbox assigned. I assume stylid="“33” but I’m not sure.

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 1
                • webdevpugW
                  webdevpug
                  last edited by

                  Unfortunately darken colorization has nothing to do with “Tags match highlighting” and “Tags attribute”, I’ve applied the same color for both options and here’s the result: http://prntscr.com/9iav0x
                  http://prntscr.com/9iavy2
                  http://prntscr.com/9iawpv

                  As for roundbox - I am not sure that this can be changed with stylers.xml, I’ve tried switching different themes and all of them had the same blurry rounded outline: http://prntscr.com/9iazr6 =(

                  Claudia FrankC 1 Reply Last reply Reply Quote 0
                  • Claudia FrankC
                    Claudia Frank @webdevpug
                    last edited by

                    @webdevpug

                    ok, I did some tests and this is what I’ve discovered so far.
                    The tag open < and end > signs are handled by the brace highlight style
                    the tag name by Tags match highlighting and the the difference (the darkening) is the result
                    of the Current line background colour. So you need to bring this three together to make
                    them look the same.

                    In regard to the roundbox, I assume you are right.

                    Cheers
                    Claudia

                    1 Reply Last reply Reply Quote 1
                    • webdevpugW
                      webdevpug
                      last edited by

                      Thanks for help, not ideal, but much better than it was :)
                      As for roundbox - should I try and ask developers of the NPP to look into issue?

                      Claudia FrankC 1 Reply Last reply Reply Quote 0
                      • Claudia FrankC
                        Claudia Frank @webdevpug
                        last edited by

                        @webdevpug,

                        should I try and ask developers of the NPP to look into issue?

                        I would give it a try, why not? There are already a lot of the scintilla
                        styling parameters defined why not asking to provide the rest of it as well.
                        There might be a reason not to do so but I guess asking can’t hurt.

                        Cheers
                        Claudia

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