Implement show document at cursor