Added PHPUnitEditor and corresponding PHPPreferencePage
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / html / HTMLFormattingStrategy.java
index 3657c8e..a57fd08 100644 (file)
@@ -1,5 +1,6 @@
 package net.sourceforge.phpeclipse.phpeditor.html;
 
+import net.sourceforge.phpeclipse.phpeditor.PHPEditor;
 import net.sourceforge.phpeclipse.phpeditor.PHPSourceViewerConfiguration;
 
 import org.eclipse.jface.text.BadLocationException;
@@ -7,7 +8,6 @@ import org.eclipse.jface.text.IDocument;
 import org.eclipse.jface.text.formatter.IFormattingStrategy;
 import org.eclipse.jface.text.source.ISourceViewer;
 import org.eclipse.jface.text.source.SourceViewer;
-import org.eclipse.ui.editors.text.TextEditor;
 
 /**
  * @author chrisl
@@ -24,7 +24,7 @@ public class HTMLFormattingStrategy implements IFormattingStrategy, IHTMLConstan
        private PHPSourceViewerConfiguration fConfig;
        private ISourceViewer fViewer;
        //
-       private TextEditor fEditor;
+       private PHPEditor fEditor;
        private int fTabWidth;
 
        ////////////////////////////////////////////////////////////////////////