0

view.show(view.visible_region()) scrolls the view

ianh 4 years ago 0

I'm writing a script to save and restore file positions, and I noticed that, when scrolled to the top of a file,

view.show(view.visible_region())

scrolls the view downward so that the top of the file isn't visible any more.


I can work around this behavior in my script, but it seems incorrect in any case, so I figured I'd report it.