X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartition.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartition.java index 522df96..bbb45e4 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartition.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPPartition.java @@ -4,11 +4,13 @@ */ package net.sourceforge.phpeclipse.phpeditor.php; -import org.eclipse.jface.text.*; +import net.sourceforge.phpdt.internal.ui.text.*; + +import org.eclipse.jface.text.IDocument; /** * @author slanger - * @version $Revision: 1.1 $ + * @version $Revision: 1.4 $ */ public class PHPPartition extends Partition { @@ -25,7 +27,7 @@ public class PHPPartition extends Partition super( document, new char[] { '<', '>' }, - IPHPPartitionScannerConstants.PHP, + IPHPPartitions.PHP_PARTITIONING, parentPartition); } @@ -36,7 +38,7 @@ public class PHPPartition extends Partition */ protected boolean allowedPartition(String type) { - if(type.equals(IPHPPartitionScannerConstants.PHP_MULTILINE_COMMENT)) + if(type.equals(IPHPPartitions.PHP_PHPDOC_COMMENT)) return true; return false;