andreycizov / idea-partialnav

Allow PageUp and PageDown to only scroll a partial part of the screen
Apache License 2.0
6 stars 7 forks source link

"Prefer moving caret line to minimize editor scrolling" doesn't work #3

Closed andreycizov closed 4 years ago

andreycizov commented 4 years ago

Hi Andrey,

I'm using the Partial Navigation plugin and found that it's not working properly with Editor -> General -> Scrolling settings: no matter if "Prefer scrolling editor canvas to keep caret line centered" or "Prefer moving caret line to minimize editor scrolling" is selected, page up/down would move the scroll trying to center the caret position on the screen i.e. it always acts like if "Prefer scrolling editor canvas to keep caret line centered" is selected

I have recorded a screencast to show the behavior - you can find it in the attuchments

I'm not sure if it's a plugin bug or an IDE bug, but even if it's an IDE bug probably if you will open an issue you will be able to provide more detailed information than I am (like specific API that are used)

partialNavigation