There is not an entry for choosing the colour for selected text in the XML-style syntax highlighting settings. Code::Blocks applies some default which in my case is quite unreadable! Maybe this applies to other highlight modes too but I didn't check...
Ciao
Fabrizio