[Bug 16597] New: Wrong detection of SelAttributes in RichEdit