Feline, you are right that it is not needed, actually I got a hardly talkative error message and thought first that the compiler doesn't treat it as a typename when referring to it from outside in a template as 'typename MyTemplateParameter::MyEnumType'. Of course the problem was elsewhere, but I just noticed this thing with the coloring.
Stephen i do agree, but in an effort to keep the number of new bugs down i like to see if i can make some problems "go away" it doesn't always work, but i consider it worth a try now and then.