Bug was introduced when working on the RSE paths. I have fixed it and this fixes...
authorEdward Mann <phpeclipse.dev@edmann.com>
Wed, 6 Feb 2008 01:47:15 +0000 (01:47 +0000)
committerEdward Mann <phpeclipse.dev@edmann.com>
Wed, 6 Feb 2008 01:47:15 +0000 (01:47 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/phpdoc/PHPDocUtil.java
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPTextHover.java

index 136ad57..426a5e9 100644 (file)
@@ -128,7 +128,7 @@ public class PHPDocUtil {
                if (file != null) {
                        try {
                                return new InputStreamReader(new FileInputStream(file
-                                               .getFullPath().toString()), file.getCharset());
+                                               .getLocation().toString()), file.getCharset());
                        } catch (UnsupportedEncodingException e) {
                                // do nothing
                        } catch (FileNotFoundException e) {
index bc388b1..08c077e 100644 (file)
@@ -101,13 +101,13 @@ public class PHPTextHover implements ITextHover {
                                                                StringBuffer hoverInfoBuffer = new StringBuffer();
                                                                String workspaceLocation;
                                                                if (fProject != null) {
-                                                                       workspaceLocation = fProject.getFullPath()
+                                                                       workspaceLocation = fProject.getLocation()
                                                                                        .toString() + '/';
                                                                } else {
                                                                        // should never happen?
                                                                        workspaceLocation = PHPeclipsePlugin
                                                                                        .getWorkspace().getRoot()
-                                                                                       .getFullPath().toString();
+                                                                                       .getLocation().toString();
                                                                }
                                                                // boolean foundPHPdoc = false;
                                                                for (int i = 0; i < list.size(); i++) {