Community
Participate
Working Groups
Build ID: HEAD as of 6/7/2007 Horizontal scrolling in text compare editors is synchronized by percent of the text widget width, i.e., percent of the longest line. This means that if two files are similar except that the second has an extremely long line, the second will scroll much faster than the first, making it more difficult to view corresponding portions of the other lines. I think the scrolling should be synchronized by number of characters. Steps To Reproduce: 1. Start Eclipse on a new workspace and make a new project. 2. In the project, create a file "a" containing a single line of about 100 characters ending with "foo". 3. Copy "a" to "b", but change the "foo" to "bar". 4. At the end of "b", add a line of about 500 characters. 5. Select "a" and "b" -> Compare With -> Each Other. 6. Slowly scroll the left pane to the right by dragging the scrollbar. Notice that the text in the right pane goes by much more quickly. In particular, the right pane scrolls past "bar" before the left pane reaches "foo".
Created attachment 70534 [details] Change scrolling to # pixels This patch makes the scrolling synchronized by number of pixels, which is probably close enough to number of characters.
Created attachment 70535 [details] mylar/context/zip
Thanks for the patch.
Patch released to HEAD. Thanks.
Verified in build I20070808-1800