-
Notifications
You must be signed in to change notification settings - Fork 4
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
Bug: Extmarks cleared in one split when a help file is splitted and scrolled #15
Comments
There's a few issues here,
At the moment it's not possible to handle multiple windows. But maybe in the future this can be added. |
How about just not to clear off screen extmarks as a workaround? |
That leaves different kinds of edge cases. If you have something like this in a help file.
If any of the line is within the range of the renderer the entire thing will be rendered. Let's say, you open the file and started at the bottom of the file and the last line of the code block was in the range. Then you did Now, you permanently have 2 extmarks that won't go away unless you manually scroll over them. This becomes an issue with Plus some lines in the help file contain a lot of inline elements. They would be duplicated. And the |
I see.
FYI |
When a help file is splitted into two windows and one of the window scrolls, the visual effects can be cleared in another window, expect both windows render normally.
I believe this is because helpview clears "off-screen" extmarks but it only considers visible range of the current window instead of all windows that contain the help file.
2024-09-25.10-48-57.mp4
The text was updated successfully, but these errors were encountered: