mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 19:49:44 +07:00
IDEA-50590 When completing a field with qualifier casting, caret is placed inside typecast
This commit is contained in:
@@ -687,6 +687,7 @@ public class JavaCompletionUtil {
|
||||
document.insertString(exprStart, prefix + spaceWithin + ")" + spaceAfter);
|
||||
|
||||
CompletionUtil.emulateInsertion(context, exprStart + prefix.length(), to);
|
||||
context.getEditor().getCaretModel().moveToOffset(context.getTailOffset());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user