IDEADEV-40801 There is no code completion if you name your variables with special leading character like '​€' or '​$​'

This commit is contained in:
peter
2009-10-11 21:58:54 +01:00
parent 3c13a85882
commit 6ac001b075
@@ -124,8 +124,8 @@ public class NameUtil {
// buffer.append(Integer.toHexString(c + 0x20000).substring(1));
// for OROMATCHER RegExp engine
buffer.append("\\x");
buffer.append(Integer.toHexString(c + 0x20000).substring(3));
buffer.append("\\").append(c);
//buffer.append(Integer.toHexString(c + 0x20000).substring(2));
}
}
@@ -208,8 +208,8 @@ public class NameUtil {
// buffer.append(Integer.toHexString(c + 0x20000).substring(1));
// for OROMATCHER RegExp engine
buffer.append("\\x");
buffer.append(Integer.toHexString(c + 0x20000).substring(3));
buffer.append("\\").append(c);
//buffer.append(Integer.toHexString(c + 0x20000).substring(3));
}
}
@@ -351,7 +351,7 @@ public class NameUtil {
return builder.toString();
}
/**
/*
* Don't try regexp matcher on names, which do not contain all the alphanumerics from the pattern in pattern's original order.
*/
private boolean prefilter(String name, char[] pattern) {