Implement preedit_styling