}
<BUG>getEnterHandler().execute(editor, ((EditorEx)editor).getDataContext());
return true;</BUG>
}
<BUG>private EditorActionHandler getEnterHandler() {

EditorActionHandler enterHandler = EditorActionManager.getInstance().getActionHandler(
IdeActions.ACTION_EDITOR_START_NEW_LINE
);
return enterHandler;
}
private PsiCodeBlock getControlStatementBlock(int caret, PsiElement element) {
</BUG>
PsiStatement body = null;

}
editor.getCaretModel().moveToOffset(firstElement != null ?
firstElement.getTextRange().getStartOffset() :
block.getTextRange().getEndOffset());
}
enterHandler.execute(editor, ((EditorEx)editor).getDataContext());
return true;
}
private static EditorActionHandler getEnterHandler(String actionId) {
return EditorActionManager.getInstance().getActionHandler(actionId);
}
@Nullable
private static PsiCodeBlock getControlStatementBlock(int caret, PsiElement element) {
PsiStatement body = null;
