1) Fixed issue #873
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPTextHover.java
index bc388b1..dac1795 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++) {
@@ -121,7 +121,7 @@ public class PHPTextHover implements ITextHover {
                                                                hoverInfo = hoverInfoBuffer.toString();
                                                        } catch (Throwable e) {
                                                                // ignore exceptions
-                                                               // e.printStackTrace();
+                                                               e.printStackTrace();
                                                        }
                                                }
                                        }