mergeCharFormat instead of setCharFormat, so existing format info isn't ...

...obliterated. Fixes #1097.