Fixed php in html-comment
authormusk <musk>
Sun, 6 Apr 2003 20:30:34 +0000 (20:30 +0000)
committermusk <musk>
Sun, 6 Apr 2003 20:30:34 +0000 (20:30 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java

index 1d502f3..54eaa7d 100644 (file)
@@ -6,7 +6,7 @@
  * Created on 05.03.2003
  *
  * @author Stefan Langer (musk)
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
  */
 package net.sourceforge.phpeclipse.phpeditor.php;
 
@@ -189,8 +189,7 @@ public IToken nextToken()
                     else
                         fContentType = IPHPPartitionScannerConstants.PHP;
             // remember offset of this partition
-                        fTokenOffset =
-                    fOffset - 3;
+                        fTokenOffset = fOffset - 2;
                             }
                 else if (checkPattern(new char[] { '!', '-', '-' }))
                 { // return previouse partition