Community
    • Login

    more keywords as 8 for a language style

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

          Lexer? What do you mean? :)

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            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
              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
                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
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors