new PartitionScanner version
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / JavaStorageDocumentProvider.java
index a5faee3..e91b68d 100644 (file)
@@ -33,7 +33,9 @@ public class JavaStorageDocumentProvider extends StorageDocumentProvider {
                
                if (document != null) {
                        JavaTextTools tools= PHPeclipsePlugin.getDefault().getJavaTextTools();
-                       tools.setupJavaDocumentPartitioner(document, IPHPPartitions.HTML, element);
+                       tools.setupJavaDocumentPartitioner(document, IPHPPartitions.PHP_PARTITIONING);
+
+//                     tools.setupJavaDocumentPartitioner(document, IDocument.DEFAULT_CONTENT_TYPE, element); //IPHPPartitions.HTML, element);
                }
        }
 }