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

6526Re: [edit+] PHP closing tag inside commented out code stops highlighting

Expand Messages
  • Daniel Gibby
    Apr 1, 2010
      As far as the PHP parser is concerned, it is fine syntax to put a comment
      around as much PHP and other mixed code as you want.

      If it is any consolation, I haven't seen other editors parse it correctly
      all the time.


      On Thu, Apr 1, 2010 at 10:24 AM, DZ-Jay <dz@...> wrote:

      > Viper007Bond wrote:
      > >
      > >
      > > This code breaks EditPlus' highlighting:
      > The problem is that EditPlus does not properly handle nested comments,
      > or in your example, nested script tags. It is the first "?>" that
      > breaks it out from the "script" mode and turns the rest of the text into
      > "regular" content.
      > dZ.

      [Non-text portions of this message have been removed]
    • Show all 11 messages in this topic