Community
    • Login

    more keywords as 8 for a language style

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    languagestylecolourkeywords
    6 Posts 2 Posters 3.9k Views 2 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.
    • RedstoneFuture TVR Offline
      RedstoneFuture TV
      last edited by RedstoneFuture TV

      In a test.xml I have defined a 9. keyword-style but the exported language don’t use this colour-definition. With the GUI of notepad++ I can’t define a 9. keyword.

      I would like define 15 different colours for 15 prefix-keywords from “&0” to “&15”.

      Have anywhere a solution or idea?

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @RedstoneFuture TV
        last edited by

        @RedstoneFuture-TV

        aside from writing your own lexer - me not.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • RedstoneFuture TVR Offline
          RedstoneFuture TV
          last edited by

          Lexer? What do you mean? :)

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @RedstoneFuture TV
            last edited by

            @RedstoneFuture-TV

            A lexer is the part of the code which is responsible for the coloring and folding of the source code you edit.
            See here for examples.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • RedstoneFuture TVR Offline
              RedstoneFuture TV
              last edited by RedstoneFuture TV

              Okay, thank you. This looks complicated, but it is a idea.

              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC Offline
                Claudia Frank @RedstoneFuture TV
                last edited by Claudia Frank

                @RedstoneFuture-TV

                and to be honest, it is only half the truth as you need to wrap this all in a plugin.
                But may I ask you why there is a need to have more than 8 different keyword group styles?
                Does this really makes sense?

                Cheers
                Claudia

                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