[Bug 21661] New: RichEdit: Wrong behaviour when formating an empty selection