same for textmodes