Selected tag background styling
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?
Should I try and redirect the question to the dev team iteslf?
webdevpug last edited by webdevpug
So, any thoughts?
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?
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):
- 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)
- 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) :)
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.
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
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 =(
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.
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?
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.