Menu ▾ ▴

Multi-line strings in language definitions

2008-11-01
2012-11-13
  • Hal Redding

    Hal Redding - 2008-11-01

    I've had limited success in defining a new language in Notepad++, but the learning curve is slower than I expected, and I have a few questions.

    1. How do I define a special coloring for multi-line strings?

    2. Can I use the User Define dialog to see what the settings are for C++, Java, etc.? Unfortunately, the "user language" drop-down box doesn't let me choose such languages.

    3. Sadly, I don't see where Notepad++ stored the information about the new language settings I defined. Where are the files that contain this information, or how do I make sure that I can copy that information from one computer to another?

    4. Finally, is there a way to search this forum? I hope I didn't miss something obvious, but I couldn't find a way.

     
    • Hal Redding

      Hal Redding - 2008-11-06

      A belated thanks for your reply!

       
    • Hal Redding

      Hal Redding - 2008-11-02

      Note to world: I just found out that Emerald Editor has a portable version, so I am going to go with that. So you don't really need to give an answer on my account, though I will keep checking this page in case anybody does give one.

       
    • Airdrik

      Airdrik - 2008-11-03

      1.  The closest I can suggest is using the Open block/close block definitions, but I don't think that highlights everything in between, though.

      2.  The definitions for existing languages is lexer code in the Scintilla editor component, so they won't show up in the user language dialog.  Their definitions are all too complex for what the dialog can handle (unfortunately).

      3.  The new language definitions are stored in c:\<App Data>\Notepad++\UserDefineLangs.xml

      4.  You didn't miss something obvious.  Sourceforge didn't include forum-specific search in the new layout.  I believe you can switch to the old layout to get that functionality.