Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: After Editing Long Lines Editor Window Automatically Scrolls to Beginning of Line

Some of my Javascript lines of code are longer than the editor window view. I have recently upgraded to the Helios version of Eclipse and noticed that after editing one of these long lines (I am scrolled to the right), after a few seconds the editor window will automatically scroll back to the left to the beginning of the line. It breaks my concentration and it's so annoying!

Does anyone know how to stop this behavior? I've searched around and haven't been able to find anything other than others being annoyed by this same issue!

I am not willing to turn on word wrap and wrap my lines :).

like image 326
icats Avatar asked Mar 18 '11 15:03

icats


1 Answers

I was having the same issue and found these open bugs for it on the Eclipse Bugs.

No sign there of having a fix for it, but you can prevent it from happening when you switch the Code Folding off and reload the file.

like image 66
Tom Avatar answered Sep 28 '22 08:09

Tom