Posted 14 years ago by Jerry
I am highlighting variables when they define a variable in the code. I do this by dynamically changing the loaded language def file. Problem: Global variables need to be highlight through out the code. This works great with this approach, but for variables defined in a given function they also are highlighted through out all the code. They should only be highlighted in that function. Is there a way to do this?
Dim A A=A + 1 'A should be highlighted through out the code B=B+1 'B will show highlighted with the current way I am highlighting it Function Test Dim B 'B should only be highlighted in Function Test B=B+A end Function