Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Display URI tooltip, render dashed/solid underline for links #7420
Display URI tooltip, render dashed/solid underline for links #7420
Changes from 45 commits
16720a0
51bd477
d268322
3090b1c
b81014e
015fb8f
4a74f83
049ee61
c18f32a
bd74eff
0327750
405066e
5995275
409b358
dfc8771
c28d2a6
8a105d7
7e96737
e19fbe5
bc70439
9d65b32
aefb2e0
d0de3d5
eb3cda5
63723e8
01928d3
121f51c
52e5743
d1b0e83
82cc197
1bece75
351e08d
0cbd9a2
9de05e3
8cd678f
3bd29ca
8477af0
953b49a
3b8393d
c00ec2e
e36f271
9d4f15c
593ed9e
26dd3de
1dcc60e
c273160
46a6ba5
f42fa17
11b055b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if this logic (check equality, store last hovered ID, trigger redraw) all belongs inside
UpdateHyperlinkHoveredId
. Is that bad for the render engine contract @miniksa?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(right now we're tracking the last ID in two places)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh its frustrating. The problem is that the specific engine has no way of signaling the renderer base to do the redraw all operation. When I originally laid it out, it was supposed to be getting commands inbound only.
This isn't that far off from us storing the invalid regions or cursor positions in multiple places. For instance, some of the renderers remember the last cursor pos they drew so they can erase the cursor "turds". Yes, it's two places... but there's precedent and I'm not sure what else is to be done beyond rearchitecting, which is out of scope.