Hacked By AnonymousFox
�
��f� c @ s� d Z d d l Z d d l m Z Gd d � d � Z d d � Z d d � Z d
d � Z d d
� Z d d � Z d d � Z
e d k r� d d l m
Z
d g e
_ d d l Z e j d d d d d �n d S( u� Extension to format a paragraph or selection to a max width.
Does basic, standard text formatting, and also understands Python
comment blocks. Thus, for editing Python source code, this
extension is really only suitable for reformatting these comment
blocks or triple-quoted strings.
Known problems with comment reformatting:
* If there is a selection marked, and the first line of the
selection is not complete, the block will probably not be detected
as comments, and will have the normal "text formatting" rules
applied.
* If a comment block has leading whitespace that mixes tabs and
spaces, they will not be considered part of the same block.
* Fancy comments, like this bulleted list, aren't handled :-)
i N( u idleConfc B sJ | Ee Z d Z d d g f g Z d d � Z d d � Z d d � Z d
S( u FormatParagraphu formatu Format Paragraphu <<format-paragraph>>c C s
| | _ d S( N( u editwin( u selfu editwin( ( u<