buffer edit