misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPEditor.java
index df0c4cc..2608187 100644 (file)
@@ -11,7 +11,7 @@ Contributors:
     IBM Corporation - Initial implementation
     Klaus Hartlage - www.eclipseproject.de
 **********************************************************************/
-import net.sourceforge.phpeclipse.phpeditor.php.PHPWordDetector;
+import net.sourceforge.phpeclipse.phpeditor.php.PHPWordExtractor;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.help.IHelp;
@@ -168,7 +168,7 @@ public class PHPEditor extends TextEditor {
   }
   
   private String getFunctionName(IDocument doc, int pos) {
-    Point word = PHPWordDetector.findWord(doc, pos);
+    Point word = PHPWordExtractor.findWord(doc, pos);
     if (word != null) {
       try {
         return doc.get(word.x, word.y).replace('_', '-');