realize textFormatter option