mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEADEV-40801 There is no code completion if you name your variables with special leading character like '€' or '$'
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user