IDEA-68400 XPath: code completion in node test: Tab does not erase the asterisk

This commit is contained in:
sweinreuter
2011-04-19 19:59:04 +02:00
parent 8d12b13914
commit fcef6786cc
@@ -98,7 +98,7 @@ class XPathInsertHandler implements InsertHandler {
int x = context.getSelectionEndOffset();
while (x < textLength) {
final char c = charAt(charsSequence, x);
if (isIdentifier(c) || (c == ':' && !isNamespace)) {
if (isIdentifier(c) || c == '*' || (c == ':' && !isNamespace)) {
x++;
} else {
break;