Community
    • Login

    Why is UDL coloring keywords that are in words?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    udl
    2 Posts 2 Posters 381 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.
    • Leahnn ReyL Offline
      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 Online
        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

        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