+1

Sublime Text goes at the top of the page by itself when regaining focus

Pierre 7 years ago • updated 7 years ago 2
I'm using a recent build of Sublime Text 2 (2173 on Ubuntu Linux Oneiric) and I noticed a strange bug occurring on several occasions when editing a long file (I have used ST for 2 or 3 weeks only, I don't know for how long this bug has been there).

When I go back and forth to the browser and the editor, it sometimes goes up to the beginning of the file I'm editing while regaining the focus. I didn't find a way to reproduce it systematically, but some files seem to have issues, while others don't.

I was expecting this bug to be fixed quickly since it is pretty annoying, but I wonder if this isn't some platform-specific issue, so I decided to report it. I don't know if that can be of some help but I'm using "virtual spaces" when switching from the browser to the editor, maybe that's linked.

Thanks for your answer and your help ! Should you need more information, feel free to contact me, I'd love to help you out to fix this issue if I can :) !

PS : Sublime Text is a really awesome editor, and I definitely fell in love with it ;) !
After looking some more I think I found where the issue stands :
http://sublimetext.userecho.com/topic/58156-retain-cursor-position-on-file-change/

I'd vote for the ability to disable file change monitoring, I guess that's an easier way to tackle this bug ;) !