How can I specify the priority of styles in stylers.xml?
-
I want to either allow nesting like UserDefineLang or set priorities. Although I defined python’s magic methods in substyle1, it gets overwritten by DEF NAME.
-
Because you couldn’t bother to explain, "Python Magic methods are the methods starting and ending with double underscores ‘__’ "
-
@juyoung9653 said in How can I specify the priority of styles in stylers.xml?:
in substyle1, it gets overwritten by DEF NAME.
Presume that by “substyle1” you mean “USER KEYWORDS 1” ?
Otherwise, be clearer, because I see no “substyle1” anywhere.It seems to be working for me, in N++ 8.7.5:

I think I’d notice if it were using the “DEF NAME”, as that is a radically different color:

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login