diff --git a/basis/ui/tools/listener/listener.factor b/basis/ui/tools/listener/listener.factor index 5699fa2a80..f1b04e1000 100644 --- a/basis/ui/tools/listener/listener.factor +++ b/basis/ui/tools/listener/listener.factor @@ -15,7 +15,7 @@ IN: ui.tools.listener TUPLE: listener-gadget < track input output scroller ; : listener-streams ( listener -- input output ) - [ input>> ] [ output>> ] bi ; + [ input>> ] [ output>> ] bi ; : ( listener -- gadget ) output>> ; @@ -80,14 +80,14 @@ M: listener-operation invoke-command ( target command -- ) GENERIC: word-completion-string ( word -- string ) -M: word word-completion-string - name>> ; +M: word word-completion-string name>> ; -M: method-body word-completion-string +: method-completion-string ( word -- string ) "method-generic" word-prop word-completion-string ; -M: engine-word word-completion-string - "engine-generic" word-prop word-completion-string ; +M: method-body word-completion-string method-completion-string ; + +M: engine-word word-completion-string method-completion-string ; : use-if-necessary ( word seq -- ) over vocabulary>> over and [