Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    more keywords as 8 for a language style

    Help wanted · · · – – – · · ·
    language style colour keywords
    2
    6
    3051
    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 TV
      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 Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        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 TV
          RedstoneFuture TV last edited by

          Lexer? What do you mean? :)

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            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 TV
              RedstoneFuture TV last edited by RedstoneFuture TV

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

              Claudia Frank 1 Reply Last reply Reply Quote 0
              • Claudia Frank
                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
                Copyright © 2014 NodeBB Forums | Contributors