The background analyzer was rewritten and it is now much more powerful.
It will allow nice features such as automatic case correction for all declared variables and subs, highlighting of global variables (purple), highlighting of undeclared variables (red) and others:
In the current version (1.7) there is a B4A.xml file in the installation folder. You can find the color definitions in it. I guess 1.8 will have the same config file.