From 730f63c5983d00cb6eaebe0438ddb63dc1ed2464 Mon Sep 17 00:00:00 2001 From: Edward Mann Date: Wed, 23 Jan 2008 21:53:45 +0000 Subject: [PATCH] Change to openFileInTextEditor to fix ticket issue #650. --- .../sourceforge/phpeclipse/PHPeclipsePlugin.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java index 34980fc..d3a771d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java @@ -827,7 +827,7 @@ public class PHPeclipsePlugin extends AbstractUIPlugin implements IWorkbenchPage page = window.getActivePage(); IPath path = new Path(filename); // If the file exists in the workspace, open it - IFile file = getWorkspace().getRoot().getFileForLocation(path); + IFile file = getWorkspace().getRoot().getFile(path); IEditorPart editor; ITextEditor textEditor; if (file != null && file.exists()) { -- 1.7.1