Added is_int function
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / Partition.java
index 8f9dbe5..4c260bf 100644 (file)
@@ -4,6 +4,8 @@
  */
 package net.sourceforge.phpeclipse.phpeditor.php;
 
+import net.sourceforge.phpdt.internal.ui.text.IPHPPartitions;
+
 import org.eclipse.jface.text.BadLocationException;
 import org.eclipse.jface.text.IDocument;
 import org.eclipse.jface.text.rules.ICharacterScanner;
@@ -16,7 +18,7 @@ import org.eclipse.jface.text.rules.Token;
  * partitions contained within other partitions.
  * 
  * @author Stefan Langer
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.4 $
  */
 public abstract class Partition
 {
@@ -41,7 +43,7 @@ public abstract class Partition
        
        public Partition(IDocument document, char[] delim, String contentType)
        {
-               this(document, delim, contentType, IPHPPartitionScannerConstants.HTML);
+               this(document, delim, contentType, IPHPPartitions.HTML);
        }
        
        /**