Loading ...
Sorry, an error occurred while loading the content.

Re: [edit+] Highlighting problem for PHP with multiple line strings

Expand Messages
  • eyhktom
    Thanks dZ, that was great help! ... quoted strings.
    Message 1 of 6 , Feb 2, 2005
    • 0 Attachment
      Thanks dZ, that was great help!

      --- In editplus@yahoogroups.com, DZ-Jay <dz@c...> wrote:
      > Some time around 02/02/2005 16:47:51, I think I heard eyhktom say:
      >
      >
      >
      > > Hi, I've found that EditPlus has a problem hightlighting strings
      > > when there is a newline in it. It goes back to parsing it like
      > > regular php code and not string, even though the string has not
      > > ended with the endquotes.
      >
      > > ex)
      >
      > > echo '<p class="error">
      > > The survey has been closed, and we are compiling our
      > > results.<br><br>
      > > Thank you for your participation.
      > > </p>';
      >
      > <!SNIP!>
      >
      > In the syntax file (php.stx?) make sure that you have the setting
      variable CONTINUE_QUOTE set to "y":
      >
      > #CONTINUE_QUOTE=y
      >
      > This will let the syntax highlight engine look for multi-line
      quoted strings.
      >
      > dZ.
    Your message has been successfully submitted and would be delivered to recipients shortly.