-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page down key does not work if there are too many removed lines #394
Comments
@M393 , I'll look into it, thanks 👍 |
@M393 , |
Thank you, @pnedev, I reported it to Notepad++, maybe it can be resolved there. |
Hello @pnedev , |
Hi @xomx , The old Compare plugin (2.0.2) uses real custom-inserted empty lines to achieve the synchronization between both views. So the problem is maybe Scintilla itself as it directly handles annotations. You could make a simple test to verify this:
BR, |
Ok, I am able to reproduce your STR. But there should not be any reason for a reached range difference in between the PageDown and the scroll-bar use... So now I think this is a potential bug in the Scintilla PageDown handler (direction == +1 ... PageDown, -1 ... PageUp): |
I am posting here a link to a comment of mine in the corresponding Notepad++ issue thread which describes a problem with last line views synchronization of ComparePlus : notepad-plus-plus/notepad-plus-plus#15579 (comment) It is just a reminder for me to look at this (has nothing to do with PageDown behavior which is another issue unrelated to ComparePlus). |
The last line scroll issue caused by ComparePlus 1.2 views sync function is fixed and will be available in the next plugin version. |
Thanks for looking into this @pnedev 👍 |
@M393 , |
Alright, understood. |
With the cursor in line 4040 on the right side, pressing page down does nothing.
Looks like the page up/down behavior in Notepad++ is implemented by moving the cursor and then scrolling the cursor into view, so this poses a problem when there is no line to place the cursor on, but maybe it's possible to use the next available line instead of not moving the cursor.
Not sure if this is a plugin problem or would need a fix in Notepad++ itself.
The text was updated successfully, but these errors were encountered: