An anchored frame within a text frame is always treated like a single character. So the behaviour of this "character" depends on the chosen type of text ruler, like it does with normal "characters", too.
Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel