revert 16463 and 16501 (#16519)
Reverts #16463 and #16501
Issues fixed
Issues reopened
Reopens #16456
Reason for revert
complexity
Can this PR be reimplemented? If so, what is required for the next attempt
at least execution of scrollToCursorOrSelection in _doNewObject