Menu

Extended collapsing

Arch
2009-07-02
2012-11-13
  • Arch

    Arch - 2009-07-02

    Hello!
    Is it possible to add collapsing between some other key-words?
    f.e. if I noted some text block like this:
    {arch}
      the text to be ollapsed
    {/arch}

     
    • Arch

      Arch - 2009-07-02

      Hm. And can I create a copy of already existed language?

       
    • cchris

      cchris - 2009-07-02

      Yes:
      1/ If you can see your language in the UDL, click Save As and enter a new name. This will clone your current language, and now the two copies live separate lives.
      2/ userDefineLang.xml has a single <Notepad-plus> node, containing one or more <UserLang> nodes. Each such node is a known user defined language as long as they have different names. You can copy and paste such nodes at will - just ensure all language names are distinct.

      See also http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Syntax_Highlighting_Sharing

      CChris

       
    • cchris

      cchris - 2009-07-02

      Not supported. The folding is done by the current lexer. You may want to create an usr defined language for this purpose. No whitespace in keywords, otherwise the scheme will fail.

      CChris

       
    • Arch

      Arch - 2009-07-03

      Thank you!

       
MongoDB Logo MongoDB