• Login
Community
  • Login

Set correctly the User defined languages

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 194 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.
  • L
    Luca RussoFiorillo
    last edited by Jul 19, 2021, 9:17 AM

    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

    P 1 Reply Last reply Jul 19, 2021, 1:23 PM Reply Quote 0
    • L
      Luca RussoFiorillo
      last edited by Jul 19, 2021, 9:50 AM

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

      1 Reply Last reply Reply Quote 1
      • P
        PeterJones @Luca RussoFiorillo
        last edited by Jul 19, 2021, 1:23 PM

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