#305 Improved scrolling

GUI (348)
Kimmo Varis

This is suggestion of harry mckame in RFE #874366 Add
goto line-number.

I would like to make a distinction between the goto object
and the scroll-to object. The difference is that if the
is inside a diff, then the diff itself should be scrolled
into view, according to the principles to be decided on.

The principles which look reasonable to me are:

1. If the scroll-to object is entirely visible, no
scroll is
2. If the scroll-to object is partly/entirely outside of
view, it is adjusted to be in the middle of the view
3. A slight skew of the scroll-to object towards the top
might be reasonable, but should IMHO not be more than 2-3
lines, and should not be applied at all if the scroll-to
object spans more than X lines (X=10 for example). The best
might be to add those two parameters (skew and X) as
4. A goto a line should of course always position the
to the line, even if the scroll-to object is a diff.


  • Kimmo Varis

    Kimmo Varis - 2005-01-12
    • priority: 5 --> 4

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks