Updating syntax.xml to attempt fix issues reported in ticket #761
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPTextHover.java
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++) {