added "new PHP project" shortcut to PHP perspective
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / JavaDocumentSetupParticipant.java
index c570267..d65fe4c 100644 (file)
@@ -30,6 +30,8 @@ public class JavaDocumentSetupParticipant  implements IDocumentSetupParticipant
         */
        public void setup(IDocument document) {
                JavaTextTools tools= PHPeclipsePlugin.getDefault().getJavaTextTools();
-               tools.setupJavaDocumentPartitioner(document, IPHPPartitions.PHP_PARTITIONING, null); //IPHPPartitions.PHP_PARTITIONING, null);
+               tools.setupJavaDocumentPartitioner(document, IPHPPartitions.PHP_PARTITIONING);
+
+//             tools.setupJavaDocumentPartitioner(document, IPHPPartitions.PHP_PARTITIONING, null); //IPHPPartitions.PHP_PARTITIONING, null);
        }
 }