applying code changes to fix ticket issue #637. You can now work with files and get...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPTextHover.java
index 08c077e..bc388b1 100644 (file)
@@ -101,13 +101,13 @@ public class PHPTextHover implements ITextHover {
                                                                StringBuffer hoverInfoBuffer = new StringBuffer();
                                                                String workspaceLocation;
                                                                if (fProject != null) {
-                                                                       workspaceLocation = fProject.getLocation()
+                                                                       workspaceLocation = fProject.getFullPath()
                                                                                        .toString() + '/';
                                                                } else {
                                                                        // should never happen?
                                                                        workspaceLocation = PHPeclipsePlugin
                                                                                        .getWorkspace().getRoot()
-                                                                                       .getLocation().toString();
+                                                                                       .getFullPath().toString();
                                                                }
                                                                // boolean foundPHPdoc = false;
                                                                for (int i = 0; i < list.size(); i++) {