Added syntax highlighting for variables in double quoted strings
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / PHPStartApacheAction.java
index 5d47f96..a87c8a1 100644 (file)
@@ -14,9 +14,9 @@ package net.sourceforge.phpeclipse.actions;
 import java.text.MessageFormat;
 
 import net.sourceforge.phpdt.externaltools.launchConfigurations.ExternalToolsUtil;
+import net.sourceforge.phpeclipse.PHPConsole;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 import net.sourceforge.phpeclipse.ui.WebUI;
-import net.sourceforge.phpeclipse.views.PHPConsole;
 
 import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.preference.IPreferenceStore;
@@ -55,7 +55,7 @@ public class PHPStartApacheAction implements IWorkbenchWindowActionDelegate {
     String executable,
     String arguments,
     boolean background) {
-    PHPConsole console = PHPConsole.getInstance();
+    PHPConsole console = new PHPConsole();
     String consoleMessage;
     if (background) {
       consoleMessage =
@@ -74,7 +74,7 @@ public class PHPStartApacheAction implements IWorkbenchWindowActionDelegate {
           + " "
           + arguments;
     }
-    console.write(consoleMessage + "\n");
+    console.println(consoleMessage);
 
     ExternalToolsUtil.execute(command, executable, arguments, background);
   }