X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java index 390bba8..5d25697 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartitionScanner.java @@ -8,11 +8,10 @@ Contributors: Igor Malinin - initial contribution - $Id: PHPPartitionScanner.java,v 1.31 2005-10-09 11:24:07 axelcl Exp $ + $Id: PHPPartitionScanner.java,v 1.33 2005-10-10 19:56:02 axelcl Exp $ **********************************************************************/ package net.sourceforge.phpeclipse.phpeditor.php; -import java.util.ArrayList; import java.util.HashMap; import java.util.Map; @@ -335,7 +334,7 @@ public class PHPPartitionScanner implements IPartitionTokenScanner { if (position >= end) { return false; } - if (pos==heredocIdent.length) { + if (pos == heredocIdent.length) { return true; } ch = document.getChar(position++); // ignore escaped character @@ -344,8 +343,6 @@ public class PHPPartitionScanner implements IPartitionTokenScanner { } pos++; } - } else if (ch == '"') { - return true; } } } catch (BadLocationException e) {