You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand why it acts like that.
But I think it's visually confusing.
I think there is a need to remove "this." word where you select some letters, from matching highlighting.
user3323 I think this is perhaps specific to the theme you are using? And that the theme does not use transparency for decorations colors? What theme are you using? Does this reproduce in our default vs dark theme ?
I can reproduce some aspects of your issue, but on my machine it doesn't seem to be that confusing.
As the selection goes from selecting zzz to zzzz, etc. those strings get searched for and then highlighted again in multiples of the number of selected characters:
the blue is the selection
the grey is the selection highlights (occurences of the selection)
the light blue is where the selection goes on top of the selection highlights
I agree this is ugly. Perhaps we can eliminate all the selection highlights that would intersect with the selection.
I was asking for the theme because on my machine the colors are a bit different, or perhaps I'm dragging differently than you? (or perhaps you have some color customizations in your user settings?)
Anyway, I think it would be good if you can make highest priority to user's selection (higher z-index or what do you have there), so matching letters wouldn't destroy this.
Activity
alexdima commentedon Sep 1, 2017
user3323 I think this is perhaps specific to the theme you are using? And that the theme does not use transparency for decorations colors? What theme are you using? Does this reproduce in our default vs dark theme ?
rcjsuen commentedon Sep 1, 2017
alexandrudima I see this with the "Dark+ (default dark)" theme on Windows 10.
alexdima commentedon Sep 1, 2017
I can reproduce some aspects of your issue, but on my machine it doesn't seem to be that confusing.
As the selection goes from selecting
zzztozzzz, etc. those strings get searched for and then highlighted again in multiples of the number of selected characters:I agree this is ugly. Perhaps we can eliminate all the selection highlights that would intersect with the selection.
I was asking for the theme because on my machine the colors are a bit different, or perhaps I'm dragging differently than you? (or perhaps you have some color customizations in your user settings?)
user3323 commentedon Sep 1, 2017
alexandrudima, yeah, I have this crazy blue rectangle because of this:
Anyway, I think it would be good if you can make highest priority to user's selection (higher z-index or what do you have there), so matching letters wouldn't destroy this.
Fixes microsoft#33621: Added check for intersection to SelectionHighl…
Merge pull request #49358 from alexr00/selectionHighlight