Revert "DocumentPrivate: Don't scroll view when add auto-bracket at end of file"
This reverts commit 65e3b5462f1c4b7f3d5934bd336d0b5e9412e49e.