mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
add entity char as additional lookup string
This commit is contained in:
@@ -353,8 +353,8 @@ public class XmlCompletionContributor extends CompletionContributor {
|
||||
s = StringUtil.trimEnd(s, ";");
|
||||
|
||||
try {
|
||||
final int unicodeChar = Integer.valueOf(s).intValue();
|
||||
return result.withTypeText(String.valueOf((char)unicodeChar));
|
||||
final char unicodeChar = (char)Integer.valueOf(s).intValue();
|
||||
return result.withTypeText(String.valueOf(unicodeChar)).withLookupString(String.valueOf(unicodeChar));
|
||||
}
|
||||
catch (NumberFormatException e) {
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user