Show browser preview only then editor area is visible
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPEditor.java
index 9cf0602..585993d 100644 (file)
@@ -55,6 +55,7 @@ import net.sourceforge.phpdt.ui.text.JavaTextTools;
 import net.sourceforge.phpdt.ui.text.PHPSourceViewerConfiguration;
 import net.sourceforge.phpdt.ui.text.folding.IJavaFoldingStructureProvider;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
+import net.sourceforge.phpeclipse.ui.editor.ShowExternalPreviewAction;
 
 import org.eclipse.core.resources.IMarker;
 import org.eclipse.core.resources.IResource;
@@ -2883,6 +2884,7 @@ public abstract class PHPEditor extends AbstractDecoratedTextEditor implements I
     JavaTextTools textTools = PHPeclipsePlugin.getDefault().getJavaTextTools();
     setSourceViewerConfiguration(new PHPSourceViewerConfiguration(textTools.getColorManager(), store, this,
         IPHPPartitions.PHP_PARTITIONING));
+    
     // TODO changed in 3.x ?
     //    setRangeIndicator(new DefaultRangeIndicator());
     //    if (PreferenceConstants.getPreferenceStore().getBoolean(PreferenceConstants.EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE))