Community
    • Login

    Set correctly the User defined languages

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 190 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.
    • Luca RussoFiorilloL
      Luca RussoFiorillo
      last edited by

      Dear all,
      I’ve just approached notepad++, I would like to set the folding words for a language not supported by N++, my problem is this: I would like to be able to wrap the program between the following commands like the examples below.

      relations
      …
      end relation

      add features
      …
      end add

      if
      …
      end if

      But i don’t know how to set, for example, “end if” as a single “word” bacause N++ divided it because the space between the words.

      Ty all for the help

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • Luca RussoFiorilloL
        Luca RussoFiorillo
        last edited by

        I solved the problem with an usefull guide on internet ty all.

        1 Reply Last reply Reply Quote 1
        • PeterJonesP
          PeterJones @Luca RussoFiorillo
          last edited by

          @Luca-RussoFiorillo ,

          I’m glad you figured it out.

          For other people who read this discussion looking for the same answer: in the Keywords and Folding In xxx settings, if you put the multi-word term in quotes (like "end if"), it will treat it as one term.

          The UDL dialog actually links to the ivan-radic UDL 2.1 documentation, which include "else if" in the Folding In Code > Example 3

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