Author: | Jim Mack |
---|---|
Mode: | factor |
Date: | Sat, 20 Feb 2010 19:05:05 |
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 ;