def __call__(self, text, *styles, original_length=False):
if not text:  <EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>for attr in styles:<EOL><INDENT>self += attr<EOL><DEDENT>pos = text.find('<STR_LIT:\n>', <NUM_LIT:0>, MAX_NL_SEARCH)  <EOL>if pos != -<NUM_LIT:1>:  <EOL><INDENT>lines = text.splitlines()<EOL>for i, line in enumerate(lines):<EOL><INDENT>lines[i] = f'<STR_LIT>'  <EOL><DEDENT>result = '<STR_LIT:\n>'.join(lines)<EOL><DEDENT>else:<EOL><INDENT>result = f'<STR_LIT>'<EOL><DEDENT>if original_length:<EOL><INDENT>return _LengthyString(len(text), result)<EOL><DEDENT>else:<EOL><INDENT>return result<EOL><DEDENT>
Formats text.  Not appropriate for huge input strings.

            Arguments:
                text                Original text.
                *styles             Add "mix-in" styles, per invocation.
                original_length     bool - Save original string length for
                                    later use.

            Note:
                Color sequences are terminated at newlines,
                so that paging the output works correctly.