Handbook
Glossary
styled-text ( string style -- )
Factor handbook
»
Developer tools
»
The prettyprinter
»
Extending the prettyprinter
»
Prettyprinter sections
Prev:
text ( string -- )
Next:
<object ( obj -- )
Vocabulary
prettyprint
.
sections
Inputs
string
a
string
style
a
hashtable
Outputs
None
Word description
Adds a styled string to the current block.
Notes
This word should only be called from inside the
with-pprint
combinator.
Definition
IN:
prettyprint.sections
:
styled-text
( string style -- )
<text>
add-section
;