Edit multiple regions with the same content simultaneously in a buffer