Community
    • Login

    How can I specify the priority of styles in stylers.xml?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 366 Views 1 Watching
    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.
    • J Offline
      juyoung9653
      last edited by

      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.

      Alan KilbornA 2 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @juyoung9653
        last edited by

        @juyoung9653

        Because you couldn’t bother to explain, "Python Magic methods are the methods starting and ending with double underscores ‘__’ "

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA Offline
          Alan Kilborn @juyoung9653
          last edited by Alan Kilborn

          @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:

          4e5768e9-b4e3-4ad1-9379-419948d99340-image.png

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

          6f306248-2b16-4863-8806-de56c56ccc4f-image.png

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors