Skip to content
  • Matthias Clasen's avatar
    textview: Improve scroll-to-mark behavior · 67ad5661
    Matthias Clasen authored
    The idea of within-margin is to scroll as little
    as possible to bring the mark within the margins
    defined by the factor. The code was achieving
    that when scrolling down, but not when scrolling
    up. This change makes things symmetrical.
    
    Fixes: #4325
    67ad5661