USING: editors fry io.encodings.utf8 io.files io.files.temp io.files.unique.private kernel ; ! IN: learn ! capture the quot output to a text file & open in editor : text-to-window ( quot -- ) random-name temp-file [ '[ utf8 ] curry dip with-file-writer ] [ 0 edit-location ] bi ;