Details

    • Story Points:
      8

      Description

      I started seeing error logs for formatting simple PHP scripts.
      Seems like the errors are originated in the HTML formatter, and with the parse-result passed into it.

      For example, this simple script trigger an error:

      <?php
      echo 1;
      

      To see the actual IParseResult, place a breakpoint at HTMLFormatterNodeBuilder – build() method.
      I've noticed that in the case of this example, we get two child nodes that overlap with the start&end offsets.

      ParseRootNode
           |
           |-- HTMLTextNode (0, 13), contentType='com.aptana.contenttype.html'
           |-- ParseNode (0, 14), contentType='com.aptana.contenttype.php'
      

        Attachments

          Activity

            People

            • Assignee:
              sgibly Shalom Gibly
              Reporter:
              sgibly Shalom Gibly
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code