From 7dcf1586a613b90d5201f571cfced184c827495c Mon Sep 17 00:00:00 2001 From: Edward Mann Date: Tue, 26 Feb 2008 00:10:31 +0000 Subject: [PATCH 1/1] Added change so that when you have a RSE project and click the right mouse button to get menu it will work. fixes #637 --- .../phpeclipse/phpeditor/PHPEditor.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java index d144789..0a09a2e 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java @@ -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, ""); -- 1.7.1