I get tired of hitting the down key to scroll, only to go to far and have to arrow back up. This gives a little bit of a buffer on the top and bottom of the screen so that you can see what's scrolling into view. Awesome!
very nice extension, thats what i was looking for, thank you!
It works fine, aside from that fact that I get reproducible an error while loading of an solution in Visual Studio, error text "Visual Studio has encountered an exception. This may be caused by an extension."
Here is an excerpt from ActivityLog.xml
<source>Editor or Editor Extension</source>
<description>System.InvalidOperationException: Operation is not valid due to the current state of the object.
at PaddedViewport.PaddedViewport.Caret_PositionChanged(Object sender, CaretPositionChangedEventArgs e)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
I use VS 2010 with Productivity Power Tools and ReSharper 6.1
It works fine, Thank you for quick fix!
Maybe it would be possible to add a keyboard shortcut,
which could make able to scroll the screen 'under' the cursor up and down,
e.g <alt> + <shift> + <arrow up> or <arrow down>.
It would be similar to the current behaviour, when the cursor reaches
the top or bottom padding, the difference were, that the cursor stays on the same position if I press the shortcut.
I think it would be useful feature, quite simple, just wondering that VS don't support this..
It would be nice if it played nicer with mouse clicks at the top and bottom of the window. As it stands, if you start selecting text with the mouse at the top or bottom of the screen it'll scroll the text, causing you to select the wrong stuff.
Also, when you click at the top or bottom of the window to place the cursor and then start typing, with every keystroke the text will scroll a line until it hits the padding size, which is distracting.
I just added a try/catch around some stuff in case of any errors. I didn't want to be responsible for crashing visual studio. I am planning on another release pretty some. This will have options to control where the margins on the top and bottom are.
It would be nice to be able to control the number of lines of padding. I looked in options, but don't see anything there. It seems to want to have like a 9 or 10 line buffer . . . when you are forced to view with only 25 or so lines, this isn't optimal . . .
Also seems to keep a buffer, but not nearly as well defined to 9 line if you do some kind of search function (incremental and/or "/" command using vsVIM).
I'll leave it installed at home and see what updates might appear, but I don't think this is quiet ready for prime time at work.
Thanks for the feedback. I will see what I can do about the options. I have a couple other ideas that I will test as well to see if they can add some value to this. I was thinking of someway to let you visually see where the boundries are, maybe a lightly dashed line across the top and bottom boundries or perhaps a marker on either the left or right border. Let me know if you think those would be helpful or just another distraction in Visual Studio?