Community
    • Login

    Why is UDL coloring keywords that are in words?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    udl
    2 Posts 2 Posters 193 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.
    • Leahnn ReyL
      Leahnn Rey
      last edited by

      For giggles, me and my friend made a fictional programming language. Let’s call that APL (Advanced Programming Language).
      scr1.PNG
      See that the START and END keywords are colored. But, when we added an EXTEND keyword it’s still coloring the END. I don’t want the UDL to color keywords that are with multiple words.
      scr2.PNG
      Obviusly, it’s messing up the folding as well. How can i fix this?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Leahnn Rey
        last edited by PeterJones

        @Leahnn-Rey ,

        Use “Folding in code 2 style (separators needed)” [FiC2] instead of “Folding in code 1 style” [FiC1].

        The FiC2 requires spaces or newlines before and after the open, middle, and close keywords, whereas the FiC1 does not.

        Generally, FiC1 should be used for things like { and } as block-markers to fold on, whereas FiC2 is useful for words.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors