A stream editor