File: //opt/alt/python27/lib64/python2.7/idlelib/FormatParagraph.pyo
�
�V~gc           @   s�   d  Z  d d l Z d d l m Z d d d �  �  YZ d �  Z d �  Z d �  Z d	 �  Z d
 �  Z	 d �  Z
 e d k r� d d l Z e j
 d
 d d d e �n  d S(   s�  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(   t   idleConft   FormatParagraphc           B   s8   e  Z d  d g f g Z d �  Z d �  Z d d � Z RS(   t   formats   Format Paragraphs   <<format-paragraph>>c         C   s
   | |  _  d  S(   N(   t   editwin(   t   selfR   (    (    s<