+package net.sourceforge.phpeclipse.phpeditor.util;
+
/**********************************************************************
Copyright (c) 2000, 2002 IBM Corp. and others.
All rights reserved. This program and the accompanying materials
Contributors:
IBM Corporation - Initial implementation
- Klaus Hartlage - www.eclipseproject.de
+ www.phpeclipse.de
**********************************************************************/
-package net.sourceforge.phpeclipse.phpeditor.util;
+
+import net.sourceforge.phpdt.internal.compiler.parser.Scanner;
import org.eclipse.jface.text.rules.IWordDetector;
* Method declared on IWordDetector.
*/
public boolean isWordPart(char character) {
- return Character.isJavaIdentifierPart(character)||(character=='/')||(character=='>');
+ return Scanner.isPHPIdentifierPart(character)||(character=='/')||(character=='>');
}
/* (non-Javadoc)