Added change so that when you have a RSE project and click the right mouse button...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPEditor.java
index d144789..0a09a2e 100644 (file)
@@ -5882,7 +5882,8 @@ public abstract class PHPEditor extends AbstractDecoratedTextEditor implements
                        file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(fei.getURI().getPath()));
                } else {
                        FileEditorInput fei = (FileEditorInput) getEditorInput();
-                       file = ResourcesPlugin.getWorkspace().getRoot().getFile(fei.getPath());
+                       // added to fix ticket 637
+                       file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(fei.getURI().getPath()));
                }
                ShowInContext context = BrowserUtil.getShowInContext(file,
                                false, "");