: synopsis ( defspec -- str )
[
string-limit? off
- 0 margin set
- 1 line-limit set
+ 0 margin namespaces:set
+ 1 line-limit namespaces:set
[ synopsis* ] with-in
] with-string-writer ;
<PRIVATE
: seeing-word ( word -- )
- vocabulary>> dup [ lookup-vocab ] when pprinter-in set ;
+ vocabulary>> dup [ lookup-vocab ] when pprinter-in namespaces:set ;
: word-synopsis ( word -- )
{
M: alias summary
[
- 0 margin set 1 line-limit set
+ 0 margin namespaces:set
+ 1 line-limit namespaces:set
[
{
[ seeing-word ]
M: object see*
[
- 12 nesting-limit set
- 100 length-limit set
+ 12 nesting-limit namespaces:set
+ 100 length-limit namespaces:set
<colon dup synopsis*
<block dup definition pprint-elements block>
dup definer nip [ pprint-word ] when* declarations.