mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEADEV-40766 Regr: Smart type completion at cast position insert wrong type for arrays
This commit is contained in:
@@ -937,7 +937,7 @@ public class JavaCompletionUtil {
|
||||
final int exprStart = qualifier.getTextRange().getStartOffset();
|
||||
document.insertString(exprStart, prefix + spaceWithin + ")" + spaceAfter);
|
||||
|
||||
CompletionUtil.emulateInsertion(context, exprStart + prefix.length(), to, (char)0);
|
||||
CompletionUtil.emulateInsertion(context, exprStart + prefix.length(), to);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user