
    nye                        d Z ddlmZ ddlmZ ddlmZmZmZm	Z	m
Z
mZmZmZ ddlmZ ddlmZ ddlmZmZmZmZmZ g d	Zy
)aa  
Many places in prompt_toolkit can take either plain text, or formatted text.
For instance the :func:`~prompt_toolkit.shortcuts.prompt` function takes either
plain text or formatted text for the prompt. The
:class:`~prompt_toolkit.layout.FormattedTextControl` can also take either plain
text or formatted text.

In any case, there is an input that can either be just plain text (a string),
an :class:`.HTML` object, an :class:`.ANSI` object or a sequence of
`(style_string, text)` tuples. The :func:`.to_formatted_text` conversion
function takes any of these and turns all of them into such a tuple sequence.
    )annotations   )ANSI)AnyFormattedTextFormattedTextOneStyleAndTextTupleStyleAndTextTuplesTemplateis_formatted_textmerge_formatted_textto_formatted_text)HTML)PygmentsTokens)fragment_list_lenfragment_list_to_textfragment_list_widthsplit_linesto_plain_text)r   r   r   r   r
   r   r   r	   r   r   r   r   r   r   r   r   N)__doc__
__future__r   ansir   baser   r   r   r	   r
   r   r   r   htmlr   pygmentsr   utilsr   r   r   r   r   __all__     H/usr/lib/python3/dist-packages/prompt_toolkit/formatted_text/__init__.py<module>r       s:    # 	 	 	  $ r   