Prefer selection over select

*This PR is just about #10f23f1, pls check #5 and #6 first*

Sometimes one wants to render the full document and 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.