Menu

User-Defined Syntax - Escaped Double-Quote

2006-09-28
2012-11-13
  • Nobody/Anonymous

    Does anyone know how to fix problems with escaped double-quotes when double-quotes are used as Delimiters?

    Example:

    MyFunction "This is a \"Quote inside a Quote\" that causes problems for Highlighting."

     
    • Nobody/Anonymous

      Bump. I am also looking for a way to solve this problem.
      If there is an odd number of quotes within a pair of quotes, it will mess up highlighting for the rest of the file.
      Example:
      This is haskell. Split takes two strings. Here, one is defined as "<a href=\"" and the other is previously defined as doc.

      split "<a href=\"" doc

      The highlighting shows "<a href=\" as a string and " doc...{rest of file} as a string as well.
      Can it be made to ignor escaped quotes?

      Thanks