1) Fixed html syntax highlighting.
authorrobekras <robert.kraske@weihenstephan.org>
Wed, 13 Feb 2013 19:26:16 +0000 (20:26 +0100)
committerrobekras <robert.kraske@weihenstephan.org>
Wed, 13 Feb 2013 19:27:02 +0000 (20:27 +0100)
Signed-off-by: robekras <robert.kraske@weihenstephan.org>

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;