(no message)

This commit is contained in:
Eugene Vigdorchik
2005-02-17 17:30:20 +03:00
parent 3489bddda4
commit f4da990524
@@ -295,6 +295,7 @@ public class SelectWordUtil {
}
private static TextRange getWordSelectionRange(CharSequence editorText, int cursorOffset) {
if (editorText.length() == 0) return null;
if (cursorOffset > 0 && !Character.isJavaIdentifierPart(editorText.charAt(cursorOffset)) &&
Character.isJavaIdentifierPart(editorText.charAt(cursorOffset - 1))) {
cursorOffset--;