#305 Improved scrolling

open
nobody
GUI (348)
4
2005-01-12
2004-03-15
Kimmo Varis
No

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
line
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
necessary
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
options.
4. A goto a line should of course always position the
cursor
to the line, even if the scroll-to object is a diff.
"

Discussion

  • 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