fix bug：edit with windows' rtfwriter not notewriter.