diff --git a/basis/editors/editors-docs.factor b/basis/editors/editors-docs.factor index c70cf3cf42..c06cd6c571 100644 --- a/basis/editors/editors-docs.factor +++ b/basis/editors/editors-docs.factor @@ -1,5 +1,5 @@ USING: help.markup help.syntax parser source-files -source-files.errors vocabs.loader ; +source-files.errors vocabs.loader kernel ; IN: editors ARTICLE: "editor" "Editor integration" @@ -20,7 +20,7 @@ HELP: edit-hook { $var-description "A quotation with stack effect " { $snippet "( file line -- )" } ". If not set, the " { $link edit } " word throws a condition with restarts for loading one of the sub-vocabularies of the " { $vocab-link "editors" } " vocabulary." } ; HELP: edit -{ $values { "defspec" "a definition specifier" } } +{ $values { "object" object } } { $description "Opens the source file containing the definition using the current " { $link edit-hook } ". See " { $link "editor" } "." } { $examples "Editing a word definition:" diff --git a/basis/peg/ebnf/ebnf-docs.factor b/basis/peg/ebnf/ebnf-docs.factor index e728725404..31d4961b98 100644 --- a/basis/peg/ebnf/ebnf-docs.factor +++ b/basis/peg/ebnf/ebnf-docs.factor @@ -278,7 +278,7 @@ ARTICLE: "peg.ebnf.semantic-action" "Semantic Action" "Semantic actions allow providing a quotation that gets run on the AST of a " "matched rule that returns success or failure. The result of the parse is decided by " "the result of the semantic action. The stack effect for the quotation is " -{ $snippet ( ast -- ? ) } ". " +{ $snippet "( ast -- ? )" } ". " "A semantic action follows the rule it applies to and is delimited by '?[' and ']?'." { $examples { $example