Example: a simple C project with this single file:
#include <stdio.h>
struct s {
int i1;
char *p_123;
double real_val;
double img_val;
};
int main (int argc, char *argv[])
{
static struct s s1;
s1.i1 = 2;
s1.p_123 = NULL;
s1.real_val = s1.img_val = 0;
printf("hello world\n");
return(0);
}
Click on s1 and wait to become highlighted, then in less than 2s click on one of the struct members: s1 will remain highlighted and part of the clicked member will get highlighted too only in the clicked location (not everywhere where the member is defined): and also the part which is highlighted depends on the length of the previous highlight (in this example s1 has 2 characters so if I click on p_123 then only 'p' and '_' get highlighted: please see picture for more examples).
However, when I hover the struct member and wait for description tooltip to appear and then I click then the highlight moves to the new selection as expected (the member gets highlighted everywhere and s1 is not anymore).
Hope you can repro and find a cure, thanks!
Daniel