• Login
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.
  • W
    webdevpug
    last edited by Nov 2, 2015, 10:54 AM

    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
    • W
      webdevpug
      last edited by Nov 6, 2015, 12:10 PM

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

      W 1 Reply Last reply Dec 23, 2015, 12:45 PM Reply Quote 0
      • W
        webdevpug @webdevpug
        last edited by webdevpug Dec 23, 2015, 12:46 PM Dec 23, 2015, 12:45 PM

        So, any thoughts?

        C 1 Reply Last reply Dec 23, 2015, 5:02 PM Reply Quote 0
        • C
          Claudia Frank @webdevpug
          last edited by Dec 23, 2015, 5:02 PM

          @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
          • W
            webdevpug
            last edited by Dec 24, 2015, 9:26 AM

            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) :)
            C 1 Reply Last reply Dec 25, 2015, 3:02 AM Reply Quote 0
            • C
              Claudia Frank @webdevpug
              last edited by Dec 25, 2015, 3:02 AM

              @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
              • W
                webdevpug
                last edited by Dec 25, 2015, 8:08 AM

                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 =(

                C 1 Reply Last reply Dec 25, 2015, 6:36 PM Reply Quote 0
                • C
                  Claudia Frank @webdevpug
                  last edited by Dec 25, 2015, 6:36 PM

                  @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
                  • W
                    webdevpug
                    last edited by Dec 25, 2015, 11:26 PM

                    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?

                    C 1 Reply Last reply Dec 26, 2015, 9:04 PM Reply Quote 0
                    • C
                      Claudia Frank @webdevpug
                      last edited by Dec 26, 2015, 9:04 PM

                      @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