1) Fixed html syntax highlighting.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ui / text / PHPSourceViewerConfiguration.java
index df918f6..d2f345e 100644 (file)
@@ -44,7 +44,7 @@ import net.sourceforge.phpeclipse.phpeditor.php.PHPCompletionProcessor;
 import net.sourceforge.phpeclipse.phpeditor.php.PHPDocumentPartitioner;
 import net.sourceforge.phpeclipse.phpeditor.php.PHPDoubleClickSelector;
 import net.sourceforge.phpeclipse.phpeditor.php.PHPPartitionScanner;
-//import net.sourceforge.phpeclipse.xml.ui.XMLPlugin;
+import net.sourceforge.phpeclipse.xml.ui.XMLPlugin;
 import net.sourceforge.phpeclipse.xml.ui.internal.text.XMLConfiguration;
 import net.sourceforge.phpeclipse.xml.ui.internal.text.XMLPartitionScanner;
 import net.sourceforge.phpeclipse.xml.ui.text.XMLTextTools;
@@ -223,9 +223,8 @@ public class PHPSourceViewerConfiguration extends SourceViewerConfiguration {
                fPreferenceStore = preferenceStore;
                fTextEditor = editor;
                fDocumentPartitioning = partitioning;
-               // fJavaTextTools = PHPeclipsePlugin.getDefault().getJavaTextTools();
-               fXMLTextTools = new XMLTextTools(getPreferenceStore());
-               //XMLPlugin.getDefault().getXMLTextTools();
+               // fJavaTextTools = PHPeclipsePlugin.getDefault().getJavaTextTools()
+               fXMLTextTools = XMLPlugin.getDefault().getXMLTextTools();
                xmlConfiguration = new XMLConfiguration(fXMLTextTools);
                fColorManager = colorManager;
                fPreferenceStore = preferenceStore;