When you select a specific word, it shows you all the places this word is used, this is case sensitive.
The color for the highlights can be set in the Tools/Options dialog under the Environment/Fonts and Colors node. The X# specific colors all start with the text "X#"