From cc70848c24e92e8d62c61415aacc8e0614869da0 Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Wed, 10 Aug 2016 01:56:44 +0300 Subject: [PATCH] ui.commands-docs: improve define-command-map word description --- basis/ui/commands/commands-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/commands/commands-docs.factor b/basis/ui/commands/commands-docs.factor index 46562c8c6a..409bd36c6c 100644 --- a/basis/ui/commands/commands-docs.factor +++ b/basis/ui/commands/commands-docs.factor @@ -55,7 +55,7 @@ HELP: commands HELP: define-command-map { $values { "class" "a class word" } { "group" string } { "blurb" { $maybe string } } { "pairs" "a sequence of gesture/word pairs" } } { $description - "Defines a command map on the specified gadget class. The " { $snippet "specs" } " parameter is a sequence of pairs " { $snippet "{ gesture word }" } ". The words must be valid commands; see " { $link define-command } "." + "Defines a command map on the specified gadget class. The " { $snippet "blurb" } " is an optional description. The " { $snippet "pairs" } " parameter is a sequence of pairs " { $snippet "{ gesture word }" } ". The " { $snippet "gesture" } " may be " { $link f } " if you are defining a \"toolbar\" " { $snippet "group" } ". The " { $snippet "word" } "s must be valid commands; see " { $link define-command } "." } { $notes "Only one of " { $link define-command-map } " and " { $link set-gestures } " can be used on a given gadget class, since each word will overwrite the other word's definitions." } ;