Menu

#72 Escape characters for user defined languages

closed
Don HO
None
5
2010-10-16
2008-04-20
No

Hi everyone.
I'm sorry for multiple posting this message, but now I think I finally found the right place.
I've just started using Notepad++ and find it wonderful. I found a problem in user language syntax hilighting because it does not allow escape characters in strings (as in " \" "). I modified the lexer to allow them (patch attached), but I did not provide a patch for the user interface. You have to modify userDefineLang.xml to include the escape chars at the end of the delimiters (so that, for example, you have the value <"00"00\00>). I hope the setting is not lost when modifying the definition using the GUI.
I hope I have been useful.

Thank you,
Ignazio

Discussion

  • Ignazio Di Napoli

     
  • Don HO

    Don HO - 2008-12-15
    • assigned_to: nobody --> donho
     
  • Don HO

    Don HO - 2010-10-16
    • status: open --> closed