Ensure that lint gutter tooltip is displayed underneath the gutter marker #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lint-gutter-tooltip-position"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The aim here is to ensure that a lint gutter tooltip is displayed directly underneath the gutter marker when line wrapping is enabled (where the marker is positioned in the vertical centre of the "visual line"), rather than underneath the first line.
diagnostic marker on a short line:
diagnostic marker on a long line:
For some reason the tooltip still isn't being positioned correctly when there's no room for it beneath the marker at the bottom of the page, but I suspect that's an issue in the tooltip extension rather than the positioning in the lint extension.
This is getting terribly hacky. Do attached patches look reasonable to you as an alternative?
The combination of those two patches seems to work perfectly - thanks! I'll close this PR.
Pull request closed