ó {fc@sQdZdd d„ƒYZedkrMddlZejdddd eƒndS( s=Provides "Strip trailing whitespace" under the "Format" menu.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 c CsÊ|jj}|jj}|jƒtt|jdƒƒƒ}x|td|ƒD]k}|jd|d|ƒ}t |ƒ}t |j ƒƒ}||krM|j d||fd|ƒqMqMW|j ƒdS(Ntendis%i.0s%i.ends%i.%i( RRtundotundo_block_starttinttfloattindextrangetgettlentrstriptdeletetundo_block_stop( RteventRR tend_linetcurttxttrawtcut((s//usr/lib64/python2.7/idlelib/RstripExtension.pyR s     %N(sStrip trailing whitespaces <>(t__name__t __module__tNonetmenudefsRR(((s//usr/lib64/python2.7/idlelib/RstripExtension.pyRs t__main__iÿÿÿÿNsidlelib.idle_test.test_rstript verbosityitexit((t__doc__RRtunittesttmaintFalse(((s//usr/lib64/python2.7/idlelib/RstripExtension.pyts