public static void moveCaretToBlockCenter(@NotNull ActionContext context, @NotNull ModPsiNavigator navigator, KtElement expression) {
        Project project = context.project();
        Document document = expression.getContainingFile().getFileDocument();
        PsiDocumentManager psiDocumentManager = PsiDocumentManager.getInstance(project);
        psiDocumentManager.doPostponedOperationsAndUnblockDocument(document);
        TextRange finallyBlockRange = expression.getTextRange();
        int newLineOffset = finallyBlockRange.getStartOffset() + 2;
        int offset = CodeStyleManager.getInstance(project).adjustLineIndent(document, newLineOffset);
        navigator.select(TextRange.from(offset, 0));
        psiDocumentManager.commitDocument(document);
    }
public static void moveCaretToBlockCenter(@NotNull ActionContext context, @NotNull ModPsiNavigator navigator, KtElement expression)