When creating new view, restore cursor position from existing view
If there is an existing view of the doc, restore cursor position from that view. Includes a test
If there is an existing view of the doc, restore cursor position from that view. Includes a test
mentioned in commit dee6e65a