50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
IN: definitions
|
|
USING: help io modules prettyprint ;
|
|
|
|
HELP: ?resource-path
|
|
{ $values { "path" "a string" } { "newpath" "a string" } }
|
|
{ $description "If the path is prefixed with " { $snippet "\"resource:\"" } ", prepends the resource path." }
|
|
{ $see-also resource-path } ;
|
|
|
|
HELP: reload
|
|
{ $values { "defspec" "a definition specifier" } }
|
|
{ $description "Reloads the source file containing the definition." }
|
|
{ $examples
|
|
"To reload a word definition:"
|
|
{ $code "\ foo reload" }
|
|
"A method definition:"
|
|
{ $code "{ editor draw-gadget* } reload" }
|
|
"A help article:"
|
|
{ $code "\"handbook\" <link> reload" }
|
|
} ;
|
|
|
|
HELP: in.
|
|
{ $values { "word" "a word" } }
|
|
{ $description "Prettyprints a " { $snippet "IN:" } " declaration for the word." }
|
|
$prettyprinting-note ;
|
|
|
|
HELP: synopsis
|
|
{ $values { "defspec" "a definition specifier" } }
|
|
{ $contract "Prettyprints the prologue of a definition." }
|
|
$prettyprinting-note
|
|
{ $see-also summary } ;
|
|
|
|
HELP: comment.
|
|
{ $values { "string" "a string" } }
|
|
{ $description "Prettyprints some text with the comment style." }
|
|
$prettyprinting-note ;
|
|
|
|
HELP: edit
|
|
{ $values { "defspec" "a definition specifier" } }
|
|
{ $description "Opens the source file containing the definition in the default editor. You must load one of the following modules using " { $link require } " for this word to work:"
|
|
{ $list
|
|
{ $snippet "contrib/emacs" }
|
|
{ $snippet "contrib/jedit" }
|
|
{ $snippet "contrib/textmate" }
|
|
{ $snippet "contrib/vim" }
|
|
}
|
|
} ;
|
|
|
|
HELP: no-edit-hook
|
|
{ $error-description "Thrown when " { $link edit } " is called when the " { $link edit-hook } " variable is not set. See " { $link edit } " for details." } ;
|