highlighting a variable when definition is commented out
Brought to you by:
fabioz
I have a problem that looks very basic. Look at this very simple example:
def func(i):
#a = a+i
return a
def g(i):
a = a*i
return a
If I uncomment the first line of the first function everything is OK. If I put the cursor on any occurrence of a, it highlights all the occurrences of a in that function. But in the example above the behavior is almost random. Sometimes all a are highlighted, sometimes some of them.........To me looks like a bug.