Namespaces in generic component


#1

Hi.

the class-definition in a generic component should allow namespace-definitions. Currently all “::” will be filtered out.


#2

Sorry, just a stoopid bug in juce_UtilityFunctions.cpp. Should be:

[code] String allowedChars (T(“abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_ 0123456789”));
if (allowTemplates)
allowedChars += T("<>");

if (! removeColons)
    allowedChars += T(":");

StringArray words;
....

[/code]