1 IN: ui.operations.tests
2 USING: ui.operations ui.commands prettyprint kernel namespaces
3 tools.test ui.gadgets ui.gadgets.editors parser io
4 io.streams.string math help help.markup accessors ;
8 [ drop t ] \ my-pprint [ ] [ ] f operation boa "op" set
11 3 "op" get command>> command-quot
14 [ "3" ] [ [ 3 "op" get invoke-command ] with-string-writer ] unit-test
16 [ drop t ] \ my-pprint [ ] [ editor-string ] f operation boa
21 "4" <editor> [ set-editor-string ] keep
22 "op" get invoke-command
27 [ { $operations \ + } print-element ] with-string-writer drop