GROOVY-6217: The Edit command should replace the shell buffer, not append.