HM... so I did make a mistake, but there is still a problem.
Given this SlickC code:
_command void colorize() name_info(',')
{
"String"
int ColorIndex=_AllocColor(0xff00,0xff, F_INHERIT_FG_COLOR);
int type=_MarkerTypeAlloc();
StreamMarkerIndex=_StreamMarkerAdd(0,_nrseek(),2,false,0,type,"message");
_StreamMarkerSetTextColor(StreamMarkerIndex,ColorIndex);
}
When you highlight a string or a keyword, the background is red and the text turns green.
When you highlight the function name, then the text stays black as expected.