Added change so that when you have a RSE project and click the right mouse button...
authorEdward Mann <phpeclipse.dev@edmann.com>
Tue, 26 Feb 2008 00:10:31 +0000 (00:10 +0000)
committerEdward Mann <phpeclipse.dev@edmann.com>
Tue, 26 Feb 2008 00:10:31 +0000 (00:10 +0000)
fixes #637

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, "");