Prefer selection over select

*This PR is just about #10f23f1, pls check #5 and #6 first*

Sometime one want to render the full document not just the current view. In this case just select all (or selected parts) and those will be rendered. In case nothing is selected, the current_view is used as usual.