@Override
    public void beforeCharDeleted(char c, PsiFile file, Editor editor) {
        int offset = editor.getCaretModel().getOffset() - 1;
        deleteGt = c == '<' && file.getFileType() == KotlinFileType.INSTANCE &&
                   (isAfterToken(offset, editor, KtTokens.FUN_KEYWORD) ||
                    isAfterToken(offset, editor, KtTokens.IDENTIFIER));
    }
@Override
    public void beforeCharDeleted(char c, PsiFile file, Editor editor)