When text is selected and the document has more lines than the window height (i.e. vertical scrollbars are present), the following causes the window to automatically scroll so that the top line of the highlighted text is at the top of the window:
- Select text
- Scroll the window so the first line of the selected text is not in the viewable area
- Change window focus to another window
- Change window focus back to Editor2