ó q”ţfc@s#dZdZddd„ƒYZdS(s=Provides "Strip trailing whitespace" under the "Format" menu.s)Roger D. Serwy tRstripExtensioncBs2eZdddgfgZd„Zdd„ZRS(tformatsStrip trailing whitespaces <>cCs&||_|jjjd|jƒdS(Ns <>(teditwinttexttbindt do_rstrip(tselfR((s//usr/lib64/python2.7/idlelib/RstripExtension.pyt__init__ s cCsł|jj}|jj}|jƒtt|jdƒƒƒd}xatd|ƒD]P}|jd|d|ƒ}t |j ƒƒ}|j d||fd|ƒqQW|j ƒdS(Ntendis%i.0s %i.0 lineends%i.%i( RRtundotundo_block_starttinttfloattindextrangetgettlentrstriptdeletetundo_block_stop(RteventRR tend_linetcurttxttcut((s//usr/lib64/python2.7/idlelib/RstripExtension.pyRs   "N(sStrip trailing whitespaces <>(t__name__t __module__tNonetmenudefsRR(((s//usr/lib64/python2.7/idlelib/RstripExtension.pyRs N((t__doc__t __author__R(((s//usr/lib64/python2.7/idlelib/RstripExtension.pyts