adobe/brackets — pull request #9624 by redmunds (2014-10-21 21:25:13+00:00)
Title: Fix scroll position jumping for few cases

This is for #9547 . This bug was exposed by fix for #9037.

This change fixes these cases:
* `Ctrl-Shift-O` then click in page
* `Ctrl-Shift-O` then blur editor (e.g. click on current file in working set)
* `Ctrl-G`, type in a line number, then `Enter` key
* `Ctrl-G` then blur editor
* `Ctrl-T` then blur editor

Verify that these case are not broken:
* `Ctrl-Shift-O` then `Esc` key
* `Ctrl-Shift-O`, select file, then `Enter` key
* `Ctrl-G` then `Esc` key
* `Ctrl-T`, select element, then `Enter` key
* `Ctrl-T` then `Esc` key

Not sure of expected results when clicking in page after auto-scroll for these cases:
* `Ctrl-G` then click in page
* `Ctrl-T` then click in page

Should this return to original scroll position, or leave scroll at clicked line? Currently master keeps clicked line in view, but scrolls a little. This branch restores original scroll position. I, personally, think page shouldn't scroll any if you click in it (which keeps clicked line in view).

cc @peterflynn