which you can check by clicking within the text and pressing Ctrl-Alt-Shift-P and reading the status-bar. So you just need to slip in some colours for these into your chosen theme. The package ScopeHunter is very useful for reading and copying scopes.

"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.

which you can check by clicking within the text and pressing Ctrl-Alt-Shift-P and reading the status-bar. So you just need to slip in some colours for these into your chosen theme. The package ScopeHunter is very useful for reading and copying scopes.

Thanks for the tip about Scopehunter. That sounds good!

I tried to use "meta.namespace-block.c++ keyword.control.c++" to style the actual namespace keyword in that scenario but it didn't work and "meta.namespace-block.c++" colours the whole thing obviously.

Actually, thinking about it, if that had worked then I wouldn't have needed it because my "keyword.control.c++" style would've done it anyway! Duh!