• Login
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.
  • R
    RedstoneFuture TV
    last edited by RedstoneFuture TV Mar 5, 2017, 5:38 PM Mar 5, 2017, 5:36 PM

    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?

    C 1 Reply Last reply Mar 6, 2017, 1:05 AM Reply Quote 0
    • C
      Claudia Frank @RedstoneFuture TV
      last edited by Mar 6, 2017, 1:05 AM

      @RedstoneFuture-TV

      aside from writing your own lexer - me not.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • R
        RedstoneFuture TV
        last edited by Mar 6, 2017, 1:31 AM

        Lexer? What do you mean? :)

        C 1 Reply Last reply Mar 6, 2017, 1:37 AM Reply Quote 0
        • C
          Claudia Frank @RedstoneFuture TV
          last edited by Mar 6, 2017, 1:37 AM

          @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
          • R
            RedstoneFuture TV
            last edited by RedstoneFuture TV Mar 6, 2017, 2:30 AM Mar 6, 2017, 2:29 AM

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

            C 1 Reply Last reply Mar 6, 2017, 2:32 AM Reply Quote 0
            • C
              Claudia Frank @RedstoneFuture TV
              last edited by Claudia Frank Mar 6, 2017, 2:32 AM Mar 6, 2017, 2:32 AM

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