����JFIFXX�����    $.' ",#(7),01444'9=82<.342  2!!22222222222222222222222222222222222222222222222222����"��4�� ���,�PG"Z_�4�˷����kjز�Z�,F+��_z�,�© �����zh6�٨�ic�fu���#ډb���_�N�?��wQ���5-�~�I���8����TK<5o�Iv-�����k�_U_�����~b�M��d����Ӝ�U�Hh��?]��E�w��Q���k�{��_}qFW7HTՑ��Y��F�?_�'ϔ��_�Ջt��=||I ��6�έ"�����D���/[�k�9���Y�8ds|\���Ҿp6�Ҵ���]��.����6�z<�v��@]�i%��$j��~�g��J>��no����pM[me�i$[����s�o�ᘨ�˸ nɜG-�ĨU�ycP�3.DB�li�;��hj���x7Z^�N�h������N3u{�:j�x�힞��#M&��jL P@_���� P��&��o8������9�����@Sz6�t7#O�ߋ �s}Yf�T���lmr����Z)'N��k�۞p����w\�Tȯ?�8`�O��i{wﭹW�[�r�� ��Q4F�׊���3m&L�=��h3����z~��#�\�l :�F,j@�� ʱ�wQT����8�"kJO���6�֚l����}���R�>ډK���]��y����&����p�}b��;N�1�m�r$�|��7�>e�@B�TM*-iH��g�D�)� E�m�|�ؘbҗ�a��Ҿ����t4���o���G��*oCN�rP���Q��@z,|?W[0�����:�n,jWiE��W��$~/�hp\��?��{(�0���+�Y8rΟ�+����>S-S����VN;�}�s?.����� w�9��˟<���Mq4�Wv'��{)0�1mB��V����W[�����8�/<� �%���wT^�5���b��)iM� pg�N�&ݝ��VO~�q���u���9� ����!��J27����$O-���! �:�%H��� ـ����y�ΠM=t{!S�� oK8������t<����è:a������[�����ա�H���~��w��Qz`�po�^ ����Q��n� �,uu�C�$ ^���,������8�#��:�6��e�|~���!�3�3.�\0��q��o�4`.|� ����y�Q�`~;�d�ׯ,��O�Zw�������`73�v�܋�<���Ȏ�� ـ4k��5�K�a�u�=9Yd��$>x�A�&�� j0� ���vF��� Y�|�y��� ~�6�@c��1vOp�Ig����4��l�OD���L����� R���c���j�_�uX6��3?nk��Wy�f;^*B� ��@�~a�`��Eu������+���6�L��.ü>��}y���}_�O�6�͐�:�YrG�X��kG�����l^w���~㒶sy��Iu�!� W ��X��N�7BV��O��!X�2����wvG�R�f�T#�����t�/?���%8�^�W�aT��G�cL�M���I��(J����1~�8�?aT ���]����AS�E��(��*E}� 2��#I/�׍qz��^t�̔���b�Yz4x���t�){ OH��+(E��A&�N�������XT��o��"�XC��'���)}�J�z�p� ��~5�}�^����+�6����w��c��Q�|Lp�d�H��}�(�.|����k��c4^�"�����Z?ȕ ��a<�L�!039C� �Eu�C�F�Ew�ç ;�n?�*o���B�8�bʝ���'#Rqf���M}7����]����s2tcS{�\icTx;�\��7K���P���ʇ Z O-��~��c>"��?�������P��E��O�8��@�8��G��Q�g�a�Վ���󁶠�䧘��_%#r�>�1�z�a��eb��qcPѵ��n���#L��� =��׀t� L�7�`��V���A{�C:�g���e@�w1 Xp3�c3�ġ����p��M"'-�@n4���fG��B3�DJ�8[Jo�ߐ���gK)ƛ��$���� ���8�3�����+���� �����6�ʻ���� ���S�kI�*KZlT _`���?��K����QK�d����B`�s}�>���`��*�>��,*@J�d�oF*����弝��O}�k��s��]��y�ߘ��c1G�V���<=�7��7����6�q�PT��tXԀ�!9*4�4Tހ3XΛex�46���Y��D ����� �BdemDa����\�_l,��G�/���֌7���Y�](�xTt^%�GE�����4�}bT���ڹ�����;Y)���B�Q��u��>J/J �⮶.�XԄ��j�ݳ�+E��d ��r�5�_D�1 ��o�� �B�x�΢�#���<��W�����8���R6�@g�M�.��� dr�D��>(otU��@x=��~v���2� ӣ�d�oBd��3�eO�6�㣷�����ݜ6��6Y��Qz`��S��{���\P�~z m5{J/L��1������<�e�ͅPu�b�]�ϔ���'������f�b� Zpw��c`"��i���BD@:)ִ�:�]��hv�E�w���T�l��P���"Ju�}��وV J��G6��. J/�Qgl߭�e�����@�z�Zev2u�)]կ�����7x���s�M�-<ɯ�c��r�v�����@��$�ޮ}lk���a���'����>x��O\�ZFu>�����ck#��&:��`�$�ai�>2Δ����l���oF[h��lE�ܺ�Πk:)���`�� $[6�����9�����kOw�\|���8}������ބ:��񶐕��I�A1/�=�2[�,�!��.}gN#�u����b��� ~��݊��}34q����d�E��Lc��$��"�[q�U�硬g^��%B �z���r�pJ�ru%v\h1Y�ne`ǥ:g���pQM~�^�Xi� ��`S�:V29.�P���V�?B�k�� AEvw%�_�9C�Q����wKekPؠ�\�;Io d�{ ߞo�c1eP����\� `����E=���@K<�Y���eڼ�J���w����{av�F�'�M�@/J��+9p���|]�����Iw &`��8���&M�hg��[�{��Xj��%��Ӓ�$��(����ʹN���<>�I���RY���K2�NPlL�ɀ)��&e����B+ь����( � �JTx���_?EZ� }@ 6�U���뙢ط�z��dWI�n` D����噥�[��uV��"�G&Ú����2g�}&m��?ċ�"����Om#��������� ��{�ON��"S�X��Ne��ysQ���@Fn��Vg���dX�~nj�]J�<�K]:��FW��b�������62�=��5f����JKw��bf�X�55��~J �%^����:�-�QIE��P��v�nZum� z � ~ə ���� ���ة����;�f��\v���g�8�1��f24;�V���ǔ�)����9���1\��c��v�/'Ƞ�w�������$�4�R-��t���� e�6�/�ġ �̕Ecy�J���u�B���<�W�ַ~�w[B1L۲�-JS΂�{���΃������A��20�c#��@ 0!1@AP"#2Q`$3V�%45a6�FRUq��� ����^7ׅ,$n�������+��F�`��2X'��0vM��p�L=������5��8������u�p~���.�`r�����\���O��,ư�0oS ��_�M�����l���4�kv\JSd���x���SW�<��Ae�IX����������$I���w�:S���y���›R��9�Q[���,�5�;�@]�%���u�@ *ro�lbI �� ��+���%m:�͇ZV�����u�̉����θau<�fc�.����{�4Ա� �Q����*�Sm��8\ujqs]{kN���)qO�y�_*dJ�b�7���yQqI&9�ԌK!�M}�R�;������S�T���1���i[U�ɵz�]��U)V�S6���3$K{�ߊ<�(� E]Զ[ǼENg�����'�\?#)Dkf��J���o��v���'�%ƞ�&K�u�!��b�35LX�Ϸ��63$K�a�;�9>,R��W��3�3� d�JeTYE.Mϧ��-�o�j3+y��y^�c�������VO�9NV\nd�1 ��!͕_)a�v;����թ�M�lWR1��)El��P;��yوÏ�u 3�k�5Pr6<�⒲l�!˞*��u־�n�!�l:����UNW ��%��Chx8vL'��X�@��*��)���̮��ˍ��� ���D-M�+J�U�kvK����+�x8��cY������?�Ԡ��~3mo��|�u@[XeY�C�\Kp�x8�oC�C�&����N�~3-H���� ��MX�s�u<`���~"WL��$8ξ��3���a�)|:@�m�\���^�`�@ҷ)�5p+��6���p�%i)P M���ngc�����#0Aruz���RL+xSS?���ʮ}()#�t��mˇ!��0}}y����<�e� �-ή�Ԩ��X������ MF���ԙ~l L.3���}�V뽺�v�����멬��Nl�)�2����^�Iq��a��M��qG��T�����c3#������3U�Ǎ���}��לS�|qa��ڃ�+���-��2�f����/��bz��ڐ�� �ݼ[2�ç����k�X�2�* �Z�d���J�G����M*9W���s{��w���T��x��y,�in�O�v��]���n����P�$�JB@=4�OTI�n��e�22a\����q�d���%�$��(���:���: /*�K[PR�fr\nڙdN���F�n�$�4�[�� U�zƶ����� �mʋ���,�ao�u 3�z� �x��Kn����\[��VFmbE;�_U��&V�Gg�]L�۪&#n%�$ɯ�dG���D�TI=�%+AB�Ru#��b4�1�»x�cs�YzڙJG��f��Il��d�eF'T� iA��T���uC�$����Y��H?����[!G`}���ͪ� �纤Hv\������j�Ex�K���!���OiƸ�Yj�+u-<���'q����uN�*�r\��+�]���<�wOZ.fp�ێ��,-*)V?j-kÊ#�`�r��dV����(�ݽBk�����G�ƛk�QmUڗe��Z���f}|����8�8��a���i��3'J�����~G_�^���d�8w������ R�`(�~�.��u���l�s+g�bv���W���lGc}��u���afE~1�Ue������Z�0�8�=e�� f@/�jqEKQQ�J��oN��J���W5~M>$6�Lt�;$ʳ{���^��6�{����v6���ķܰg�V�cnn �~z�x�«�,2�u�?cE+Ș�H؎�%�Za�)���X>uW�Tz�Nyo����s���FQƤ��$��*�&�LLXL)�1�" L��eO��ɟ�9=���:t��Z���c��Ž���Y?�ӭV�wv�~,Y��r�ۗ�|�y��GaF�����C�����.�+� ���v1���fήJ�����]�S��T��B��n5sW}y�$��~z�'�c ��8 ��� ,! �p��VN�S��N�N�q��y8z˱�A��4��*��'������2n<�s���^ǧ˭P�Jޮɏ�U�G�L�J�*#��<�V��t7�8����TĜ>��i}K%,���)[��z�21z ?�N�i�n1?T�I�R#��m-�����������������1����lA�`��fT5+��ܐ�c�q՝��ʐ��,���3�f2U�եmab��#ŠdQ�y>\��)�SLY����w#��.���ʑ�f��� ,"+�w�~�N�'�c�O�3F�������N<���)j��&��,-� �љ���֊�_�zS���TǦ����w�>��?�������n��U仆�V���e�����0���$�C�d���rP �m�׈e�Xm�Vu� �L��.�bֹ��� �[Դaզ���*��\y�8�Է:�Ez\�0�Kq�C b��̘��cө���Q��=0Y��s�N��S.���3.���O�o:���#���v7�[#߫ ��5�܎�L���Er4���9n��COWlG�^��0k�%<���ZB���aB_���������'=��{i�v�l�$�uC���mƎҝ{�c㱼�y]���W�i ��ߧc��m�H� m�"�"�����;Y�ߝ�Z�Ǔ�����:S#��|}�y�,/k�Ld� TA�(�AI$+I3��;Y*���Z��}|��ӧO��d�v��..#:n��f>�>���ȶI�TX��� 8��y����"d�R�|�)0���=���n4��6ⲑ�+��r<�O�܂~zh�z����7ܓ�HH�Ga롏���nCo�>������a ���~]���R���̲c?�6(�q�;5%� |�uj�~z8R=X��I�V=�|{v�Gj\gc��q����z�؋%M�ߍ����1y��#��@f^���^�>N�����#x#۹��6�Y~�?�dfPO��{��P�4��V��u1E1J �*|���%���JN��`eWu�zk M6���q t[�� ��g�G���v��WIG��u_ft����5�j�"�Y�:T��ɐ���*�;� e5���4����q$C��2d�}���� _S�L#m�Yp��O�.�C�;��c����Hi#֩%+) �Ӎ��ƲV���SYź��g |���tj��3�8���r|���V��1#;.SQ�A[���S������#���`n�+���$��$I �P\[�@�s��(�ED�z���P��])8�G#��0B��[ى��X�II�q<��9�~[Z멜�Z�⊔IWU&A>�P~�#��dp<�?����7���c��'~���5 ��+$���lx@�M�dm��n<=e�dyX��?{�|Aef ,|n3�<~z�ƃ�uۧ�����P��Y,�ӥQ�*g�#먙R�\���;T��i,��[9Qi歉����c>]9�� ��"�c��P�� �Md?٥��If�ت�u��k��/����F��9�c*9��Ǎ:�ØF���z�n*�@|I�ށ9����N3{'��[�'ͬ�Ҳ4��#}��!�V� Fu��,�,mTIk���v C�7v���B�6k�T9��1�*l� '~��ƞF��lU��'�M ����][ΩũJ_�{�i�I�n��$���L�� j��O�dx�����kza۪��#�E��Cl����x˘�o�����V���ɞ�ljr��)�/,�߬h�L��#��^��L�ф�,íMƁe�̩�NB�L�����iL����q�}��(��q��6IçJ$�W�E$��:������=#����(�K�B����zђ <��K(�N�۫K�w��^O{!����)�H���>x�������lx�?>Պ�+�>�W���,Ly!_�D���Ō�l���Q�!�[ �S����J��1��Ɛ�Y}��b,+�Lo�x�ɓ)����=�y�oh�@�꥟/��I��ѭ=��P�y9��� �ۍYӘ�e+�p�Jnϱ?V\SO%�(�t� ���=?MR�[Ș�����d�/ ��n�l��B�7j� ��!�;ӥ�/�[-���A�>�dN�sLj ��,ɪv��=1c�.SQ�O3�U���ƀ�ܽ�E����������̻��9G�ϷD�7(�}��Ävӌ\�y�_0[w ���<΍>����a_��[0+�L��F.�޺��f�>oN�T����q;���y\��bՃ��y�jH�<|q-eɏ�_?_9+P���Hp$�����[ux�K w�Mw��N�ی'$Y2�=��q���KB��P��~������Yul:�[<����F1�2�O���5=d����]Y�sw:���Ϯ���E��j,_Q��X��z`H1,#II ��d�wr��P˂@�ZJV����y$�\y�{}��^~���[:N����ߌ�U�������O��d�����ؾe��${p>G��3c���Ė�lʌ�� ת��[��`ϱ�-W����dg�I��ig2��� ��}s ��ؤ(%#sS@���~���3�X�nRG�~\jc3�v��ӍL��M[JB�T��s3}��j�Nʖ��W����;7��ç?=X�F=-�=����q�ߚ���#���='�c��7���ڑW�I(O+=:uxq�������������e2�zi+�kuG�R��������0�&e�n���iT^J����~\jy���p'dtG��s����O��3����9* �b#Ɋ�� p������[Bws�T�>d4�ۧs���nv�n���U���_�~,�v����ƜJ1��s�� �QIz��)�(lv8M���U=�;����56��G���s#�K���MP�=��LvyGd��}�VwWBF�'�à �?MH�U�g2�� ����!�p�7Q��j��ڴ����=��j�u��� Jn�A s���uM������e��Ɔ�Ҕ�!)'��8Ϣ�ٔ��ޝ(��Vp���צ֖d=�IC�J�Ǡ{q������kԭ�߸���i��@K����u�|�p=..�*+����x�����z[Aqġ#s2a�Ɗ���RR�)*HRsi�~�a &f��M��P����-K�L@��Z��Xy�'x�{}��Zm+���:�)�) IJ�-i�u���� ���ܒH��'�L(7�y�GӜq���� j��� 6ߌg1�g�o���,kر���tY�?W,���p���e���f�OQS��!K�۟cҒA�|ս�j�>��=⬒��˧L[�� �߿2JaB~R��u�:��Q�] �0H~���]�7��Ƽ�I���(}��cq '�ήET���q�?f�ab���ӥvr� �)o��-Q��_'����ᴎo��K������;��V���o��%���~OK ����*��b�f:���-ťIR��`B�5!RB@���ï�� �u �̯e\�_U�_������� g�ES��3�������QT��a����x����U<~�c?�*�#]�MW,[8O�a�x��]�1bC|踤�P��lw5V%�)�{t�<��d��5���0i�XSU��m:��Z�┵�i�"��1�^B�-��P�hJ��&)O��*�D��c�W��vM��)����}���P��ܗ-q����\mmζZ-l@�}��a��E�6��F�@��&Sg@���ݚ�M����� ȹ 4����#p�\H����dYDo�H���"��\��..R�B�H�z_�/5˘����6��KhJR��P�mƶi�m���3�,#c�co��q�a)*Pt����R�m�k�7x�D�E�\Y�閣_X�<���~�)���c[[�BP����6�Yq���S��0����%_����;��Àv�~�| VS؇ ��'O0��F0��\���U�-�d@�����7�SJ*z��3n��y��P����O���������m�~�P�3|Y��ʉr#�C�<�G~�.,! ���bqx���h~0=��!ǫ�jy����l�O,�[B��~��|9��ٱ����Xly�#�i�B��g%�S��������tˋ���e���ې��\[d�t)��.+u�|1 ������#�~Oj����hS�%��i.�~X���I�H�m��0n���c�1uE�q��cF�RF�o���7� �O�ꮧ� ���ۛ{��ʛi5�rw?׌#Qn�TW��~?y$��m\�\o����%W� ?=>S�N@�� �Ʈ���R����N�)�r"C�:��:����� �����#��qb��Y�. �6[��2K����2u�Ǧ�HYR��Q�MV��� �G�$��Q+.>�����nNH��q�^��� ����q��mM��V��D�+�-�#*�U�̒ ���p욳��u:�������IB���m���PV@O���r[b= �� ��1U�E��_Nm�yKbN�O���U�}�the�`�|6֮P>�\2�P�V���I�D�i�P�O;�9�r�mAHG�W�S]��J*�_�G��+kP�2����Ka�Z���H�'K�x�W�MZ%�O�YD�Rc+o��?�q��Ghm��d�S�oh�\�D�|:W������UA�Qc yT�q������~^�H��/��#p�CZ���T�I�1�ӏT����4��"�ČZ�����}��`w�#�*,ʹ�� ��0�i��課�Om�*�da��^gJ݅{���l�e9uF#T�ֲ��̲�ٞC"�q���ߍ ոޑ�o#�XZTp����@ o�8��(jd��xw�]�,f���`~�|,s��^����f�1���t��|��m�򸄭/ctr��5s��7�9Q�4�H1꠲BB@l9@���C�����+�wp�xu�£Yc�9��?`@#�o�mH�s2��)�=��2�.�l����jg�9$�Y�S�%*L������R�Y������7Z���,*=�䷘$�������arm�o�ϰ���UW.|�r�uf����IGw�t����Zwo��~5 ��YյhO+=8fF�)�W�7�L9lM�̘·Y���֘YLf�큹�pRF���99.A �"wz��=E\Z���'a� 2��Ǚ�#;�'}�G���*��l��^"q��+2FQ� hj��kŦ��${���ޮ-�T�٭cf�|�3#~�RJ����t��$b�(R��(����r���dx� >U b�&9,>���%E\� Ά�e�$��'�q't��*�א���ެ�b��-|d���SB�O�O��$�R+�H�)�܎�K��1m`;�J�2�Y~9��O�g8=vqD`K[�F)k�[���1m޼c��n���]s�k�z$@��)!I �x՝"v��9=�ZA=`Ɠi �:�E��)`7��vI��}d�YI�_ �o�:ob���o ���3Q��&D&�2=�� �Ά��;>�h����y.*ⅥS������Ӭ�+q&����j|UƧ����}���J0��WW< ۋS�)jQR�j���Ư��rN)�Gű�4Ѷ(�S)Ǣ�8��i��W52���No˓� ۍ%�5brOn�L�;�n��\G����=�^U�dI���8$�&���h��'���+�(������cȁ߫k�l��S^���cƗjԌE�ꭔ��gF���Ȓ��@���}O���*;e�v�WV���YJ\�]X'5��ղ�k�F��b 6R�o՜m��i N�i����>J����?��lPm�U��}>_Z&�KK��q�r��I�D�Չ~�q�3fL�:S�e>���E���-G���{L�6p�e,8��������QI��h��a�Xa��U�A'���ʂ���s�+טIjP�-��y�8ۈZ?J$��W�P� ��R�s�]��|�l(�ԓ��sƊi��o(��S0��Y� 8�T97.�����WiL��c�~�dxc�E|�2!�X�K�Ƙਫ਼�$((�6�~|d9u+�qd�^3�89��Y�6L�.I�����?���iI�q���9�)O/뚅����O���X��X�V��ZF[�یgQ�L��K1���RҖr@v�#��X�l��F���Нy�S�8�7�kF!A��sM���^rkp�jP�DyS$N���q��nxҍ!U�f�!eh�i�2�m���`�Y�I�9r�6� �TF���C}/�y�^���Η���5d�'��9A-��J��>{�_l+�`��A���[�'��յ�ϛ#w:݅�%��X�}�&�PSt�Q�"�-��\縵�/����$Ɨh�Xb�*�y��BS����;W�ջ_mc�����vt?2}1�;qS�d�d~u:2k5�2�R�~�z+|HE!)�Ǟl��7`��0�<�,�2*���Hl-��x�^����'_TV�gZA�'j� ^�2Ϊ��N7t�����?w�� �x1��f��Iz�C-Ȗ��K�^q�;���-W�DvT�7��8�Z�������� hK�(P:��Q- �8�n�Z���܃e貾�<�1�YT<�,�����"�6{/ �?�͟��|1�:�#g��W�>$����d��J��d�B��=��jf[��%rE^��il:��B���x���Sּ�1հ��,�=��*�7 fcG��#q� �eh?��2�7�����,�!7x��6�n�LC�4x��},Geǝ�tC.��vS �F�43��zz\��;QYC,6����~;RYS/6���|2���5���v��T��i����������mlv��������&� �nRh^ejR�LG�f���? �ۉҬܦƩ��|��Ȱ����>3����!v��i�ʯ�>�v��オ�X3e���_1z�Kȗ\<������!�8���V��]��?b�k41�Re��T�q��mz��TiOʦ�Z��Xq���L������q"+���2ۨ��8}�&N7XU7Ap�d�X��~�׿��&4e�o�F��� �H����O���č�c�� 懴�6���͉��+)��v;j��ݷ�� �UV�� i��� j���Y9GdÒJ1��詞�����V?h��l����l�cGs�ځ�������y�Ac�����\V3�? �� ܙg�>qH�S,�E�W�[�㺨�uch�⍸�O�}���a��>�q�6�n6����N6�q������N ! 1AQaq�0@����"2BRb�#Pr���3C`��Scst���$4D���%Td�� ?���N����a��3��m���C���w��������xA�m�q�m���m������$����4n淿t'��C"w��zU=D�\R+w�p+Y�T�&�պ@��ƃ��3ޯ?�Aﶂ��aŘ���@-�����Q�=���9D��ռ�ѻ@��M�V��P��܅�G5�f�Y<�u=,EC)�<�Fy'�"�&�չ�X~f��l�KԆV��?�� �W�N����=(� �;���{�r����ٌ�Y���h{�١������jW����P���Tc�����X�K�r��}���w�R��%��?���E��m�� �Y�q|����\lEE4���r���}�lsI�Y������f�$�=�d�yO����p�����yBj8jU�o�/�S��?�U��*������ˍ�0������u�q�m [�?f����a�� )Q�>����6#������� ?����0UQ����,IX���(6ڵ[�DI�MNލ�c&���υ�j\��X�R|,4��� j������T�hA�e��^���d���b<����n�� �즇�=!���3�^�`j�h�ȓr��jẕ�c�,ٞX����-����a�ﶔ���#�$��]w�O��Ӫ�1y%��L�Y<�wg#�ǝ�̗`�x�xa�t�w��»1���o7o5��>�m뭛C���Uƃߜ}�C���y1Xνm�F8�jI���]����H���ۺиE@I�i;r�8ӭ����V�F�Շ| ��&?�3|x�B�MuS�Ge�=Ӕ�#BE5G�����Y!z��_e��q�р/W>|-�Ci߇�t�1ޯќd�R3�u��g�=0 5��[?�#͏��q�cf���H��{ ?u�=?�?ǯ���}Z��z���hmΔ�BFTW�����<�q�(v� ��!��z���iW]*�J�V�z��gX֧A�q�&��/w���u�gYӘa���; �i=����g:��?2�dž6�ى�k�4�>�Pxs����}������G�9��3 ���)gG�R<>r h�$��'nc�h�P��Bj��J�ҧH� -��N1���N��?��~��}-q!=��_2hc�M��l�vY%UE�@|�v����M2�.Y[|y�"Eï��K�ZF,�ɯ?,q�?v�M 80jx�"�;�9vk�����+ ֧�� �ȺU��?�%�vcV��mA�6��Qg^M����A}�3�nl� QRN�l8�kkn�'�����(��M�7m9و�q���%ޟ���*h$Zk"��$�9��: �?U8�Sl��,,|ɒ��xH(ѷ����Gn�/Q�4�P��G�%��Ա8�N��!� �&�7�;���eKM7�4��9R/%����l�c>�x;������>��C�:�����t��h?aKX�bhe�ᜋ^�$�Iհ �hr7%F$�E��Fd���t��5���+�(M6�t����Ü�UU|zW�=a�Ts�Tg������dqP�Q����b'�m���1{|Y����X�N��b �P~��F^F:����k6�"�j!�� �I�r�`��1&�-$�Bevk:y���#yw��I0��x��=D�4��tU���P�ZH��ڠ底taP��6����b>�xa����Q�#� WeF��ŮNj�p�J* mQ�N����*I�-*�ȩ�F�g�3 �5��V�ʊ�ɮ�a��5F���O@{���NX��?����H�]3��1�Ri_u��������ѕ�� ����0��� F��~��:60�p�͈�S��qX#a�5>���`�o&+�<2�D����: �������ڝ�$�nP���*)�N�|y�Ej�F�5ټ�e���ihy�Z �>���k�bH�a�v��h�-#���!�Po=@k̆IEN��@��}Ll?j�O������߭�ʞ���Q|A07x���wt!xf���I2?Z��<ץ�T���cU�j��]��陎Ltl �}5�ϓ��$�,��O�mˊ�;�@O��jE��j(�ا,��LX���LO���Ц�90�O �.����a��nA���7������j4 ��W��_ٓ���zW�jcB������y՗+EM�)d���N�g6�y1_x��p�$Lv:��9�"z��p���ʙ$��^��JԼ*�ϭ����o���=x�Lj�6�J��u82�A�H�3$�ٕ@�=Vv�]�'�qEz�;I˼��)��=��ɯ���x �/�W(V���p�����$ �m�������u�����񶤑Oqˎ�T����r��㠚x�sr�GC��byp�G��1ߠ�w e�8�$⿄����/�M{*}��W�]˷.�CK\�ުx���/$�WPw���r� |i���&�}�{�X� �>��$-��l���?-z���g����lΆ���(F���h�vS*���b���߲ڡn,|)mrH[���a�3�ר�[1��3o_�U�3�TC�$��(�=�)0�kgP���� ��u�^=��4 �WYCҸ:��vQ�ר�X�à��tk�m,�t*��^�,�}D*� �"(�I��9R����>`�`��[~Q]�#af��i6l��8���6�:,s�s�N6�j"�A4���IuQ��6E,�GnH��zS�HO�uk�5$�I�4��ؤ�Q9�@��C����wp�BGv[]�u�Ov���0I4���\��y�����Q�Ѹ��~>Z��8�T��a��q�ޣ;z��a���/��S��I:�ܫ_�|������>=Z����8:�S��U�I�J��"IY���8%b8���H��:�QO�6�;7�I�S��J��ҌAά3��>c���E+&jf$eC+�z�;��V����� �r���ʺ������my�e���aQ�f&��6�ND��.:��NT�vm�<- u���ǝ\MvZY�N�NT��-A�>jr!S��n�O 1�3�Ns�%�3D@���`������ܟ 1�^c<���� �a�ɽ�̲�Xë#�w�|y�cW�=�9I*H8�p�^(4���՗�k��arOcW�tO�\�ƍR��8����'�K���I�Q�����?5�>[�}��yU�ײ -h��=��% q�ThG�2�)���"ו3]�!kB��*p�FDl�A���,�eEi�H�f�Ps�����5�H:�Փ~�H�0Dت�D�I����h�F3�������c��2���E��9�H��5�zԑ�ʚ�i�X�=:m�xg�hd(�v����׊�9iS��O��d@0ڽ���:�p�5�h-��t�&���X�q�ӕ,��ie�|���7A�2���O%P��E��htj��Y1��w�Ѓ!����  ���� ࢽ��My�7�\�a�@�ţ�J �4�Ȼ�F�@o�̒?4�wx��)��]�P��~�����u�����5�����7X ��9��^ܩ�U;Iꭆ 5 �������eK2�7(�{|��Y׎ �V��\"���Z�1� Z�����}��(�Ǝ"�1S���_�vE30>���p;� ΝD��%x�W�?W?v����o�^V�i�d��r[��/&>�~`�9Wh��y�;���R��� ;;ɮT��?����r$�g1�K����A��C��c��K��l:�'��3 c�ﳯ*"t8�~l��)���m��+U,z��`(�>yJ�?����h>��]��v��ЍG*�{`��;y]��I�T� ;c��NU�fo¾h���/$���|NS���1�S�"�H��V���T���4��uhǜ�]�v;���5�͠x��'C\�SBpl���h}�N����� A�Bx���%��ޭ�l��/����T��w�ʽ]D�=����K���ž�r㻠l4�S�O?=�k �M:� ��c�C�a�#ha���)�ѐxc�s���gP�iG��{+���x���Q���I= �� z��ԫ+ �8"�k�ñ�j=|����c ��y��CF��/��*9ж�h{ �?4�o� ��k�m�Q�N�x��;�Y��4膚�a�w?�6�>e]�����Q�r�:����g�,i"�����ԩA�*M�<�G��b�if��l^M��5� �Ҩ�{����6J��ZJ�����P�*�����Y���ݛu�_4�9�I8�7���������,^ToR���m4�H��?�N�S�ѕw��/S��甍�@�9H�S�T��t�ƻ���ʒU��*{Xs�@����f�����֒Li�K{H�w^���������Ϥm�tq���s� ���ք��f:��o~s��g�r��ט� �S�ѱC�e]�x���a��) ���(b-$(�j>�7q�B?ӕ�F��hV25r[7 Y� }L�R��}����*sg+��x�r�2�U=�*'WS��ZDW]�WǞ�<��叓���{�$�9Ou4��y�90-�1�'*D`�c�^o?(�9��u���ݐ��'PI&� f�Jݮ�������:wS����jfP1F:X �H�9dԯ���˝[�_54 �}*;@�ܨ�� ð�yn�T���?�ןd�#���4rG�ͨ��H�1�|-#���Mr�S3��G�3�����)�.᧏3v�z֑��r����$G"�`j �1t��x0<Ɔ�Wh6�y�6��,œ�Ga��gA����y��b��)��h�D��ß�_�m��ü �gG;��e�v��ݝ�nQ� ��C����-�*��o���y�a��M��I�>�<���]obD��"�:���G�A��-\%LT�8���c�)��+y76���o�Q�#*{�(F�⽕�y����=���rW�\p���۩�c���A���^e6��K������ʐ�cVf5$�'->���ՉN"���F�"�UQ@�f��Gb~��#�&�M=��8�ט�JNu9��D��[̤�s�o�~������ G��9T�tW^g5y$b��Y'��س�Ǵ�=��U-2 #�MC�t(�i� �lj�@Q 5�̣i�*�O����s�x�K�f��}\��M{E�V�{�υ��Ƈ�����);�H����I��fe�Lȣr�2��>��W�I�Ȃ6������i��k�� �5�YOxȺ����>��Y�f5'��|��H+��98pj�n�.O�y�������jY��~��i�w'������l�;�s�2��Y��:'lg�ꥴ)o#'Sa�a�K��Z� �m��}�`169�n���"���x��I ��*+� }F<��cГ���F�P�������ֹ*�PqX�x۩��,� ��N�� �4<-����%����:��7����W���u�`����� $�?�I��&����o��o��`v�>��P��"��l���4��5'�Z�gE���8���?��[�X�7(��.Q�-��*���ތL@̲����v��.5���[��=�t\+�CNܛ��,g�SQnH����}*F�G16���&:�t��4ُ"A��̣��$�b �|����#rs��a�����T�� ]�<�j��BS�('$�ɻ� �wP;�/�n��?�ݜ��x�F��yUn�~mL*-�������Xf�wd^�a�}��f�,=t�׵i�.2/wpN�Ep8�OР���•��R�FJ� 55TZ��T �ɭ�<��]��/�0�r�@�f��V��V����Nz�G��^���7hZi����k��3�,kN�e|�vg�1{9]_i��X5y7� 8e]�U����'�-2,���e"����]ot�I��Y_��n�(JҼ��1�O ]bXc���Nu�No��pS���Q_���_�?i�~�x h5d'�(qw52] ��'ޤ�q��o1�R!���`ywy�A4u���h<קy���\[~�4�\ X�Wt/� 6�����n�F�a8��f���z �3$�t(���q��q�x��^�XWeN'p<-v�!�{�(>ӽDP7��ո0�y)�e$ٕv�Ih'Q�EA�m*�H��RI��=:��� ���4牢) �%_iN�ݧ�l]� �Nt���G��H�L��� ɱ�g<���1V�,�J~�ٹ�"K��Q�� 9�HS�9�?@��k����r�;we݁�]I�!{ �@�G�[�"��`���J:�n]�{�cA�E����V��ʆ���#��U9�6����j�#Y�m\��q�e4h�B�7��C�������d<�?J����1g:ٳ���=Y���D�p�ц� ׈ǔ��1�]26؜oS�'��9�V�FVu�P�h�9�xc�oq�X��p�o�5��Ա5$�9W�V(�[Ak�aY錎qf;�'�[�|���b�6�Ck��)��#a#a˙��8���=äh�4��2��C��4tm^ �n'c���]GQ$[Wҿ��i���vN�{Fu ��1�gx��1┷���N�m��{j-,��x�� Ūm�ЧS�[�s���Gna���䑴�� x�p 8<������97�Q���ϴ�v�aϚG��Rt�Һ׈�f^\r��WH�JU�7Z���y)�vg=����n��4�_)y��D'y�6�]�c�5̪�\� �PF�k����&�c;��cq�$~T�7j ���nç]�<�g ":�to�t}�159�<�/�8������m�b�K#g'I'.W�����6��I/��>v��\�MN��g���m�A�yQL�4u�Lj�j9��#44�t��l^�}L����n��R��!��t��±]��r��h6ٍ>�yҏ�N��fU�� ���� Fm@�8}�/u��jb9������he:A�y�ծw��GpΧh�5����l}�3p468��)U��d��c����;Us/�֔�YX�1�O2��uq�s��`hwg�r~�{ R��mhN��؎*q 42�*th��>�#���E����#��Hv�O����q�}�����6�e��\�,Wk�#���X��b>��p}�դ��3���T5��†��6��[��@�P�y*n��|'f�֧>�lư΂�̺����SU�'*�q�p�_S�����M�� '��c�6�����m�� ySʨ;M��r���Ƌ�m�Kxo,���Gm�P��A�G�:��i��w�9�}M(�^�V��$ǒ�ѽ�9���|���� �a����J�SQ�a���r�B;����}���ٻ֢�2�%U���c�#�g���N�a�ݕ�'�v�[�OY'��3L�3�;,p�]@�S��{ls��X�'���c�jw�k'a�.��}�}&�� �dP�*�bK=ɍ!����;3n�gΊU�ߴmt�'*{,=SzfD� A��ko~�G�aoq�_mi}#�m�������P�Xhύ����mxǍ�΂���巿zf��Q���c���|kc�����?���W��Y�$���_Lv����l߶��c���`?����l�j�ݲˏ!V��6����U�Ђ(A���4y)H���p�Z_�x��>���e��R��$�/�`^'3qˏ�-&Q�=?��CFVR �D�fV�9��{�8g�������n�h�(P"��6�[�D���< E�����~0<@�`�G�6����Hг�cc�� �c�K.5��D��d�B���`?�XQ��2��ٿyqo&+�1^� DW�0�ꊩ���G�#��Q�nL3��c���������/��x ��1�1[y�x�პCW��C�c�UĨ80�m�e�4.{�m��u���I=��f�����0QRls9���f���������9���~f�����Ǩ��a�"@�8���ȁ�Q����#c�ic������G��$���G���r/$W�(��W���V�"��m�7�[m�A�m����bo��D� j����۳� l���^�k�h׽����� ��#� iXn�v��eT�k�a�^Y�4�BN��ĕ��0 !01@Q"2AaPq3BR������?���@4�Q�����T3,���㺠�W�[=JK�Ϟ���2�r^7��vc�:�9 �E�ߴ�w�S#d���Ix��u��:��Hp��9E!�� V 2;73|F��9Y���*ʬ�F��D����u&���y؟��^EA��A��(ɩ���^��GV:ݜDy�`��Jr29ܾ�㝉��[���E;Fzx��YG��U�e�Y�C���� ����v-tx����I�sם�Ę�q��Eb�+P\ :>�i�C'�;�����k|z�رn�y]�#ǿb��Q��������w�����(�r|ӹs��[�D��2v-%��@;�8<a���[\o[ϧw��I!��*0�krs)�[�J9^��ʜ��p1)� "��/_>��o��<1����A�E�y^�C��`�x1'ܣn�p��s`l���fQ��):�l����b>�Me�jH^?�kl3(�z:���1ŠK&?Q�~�{�ٺ�h�y���/�[��V�|6��}�KbX����mn[-��7�5q�94�������dm���c^���h� X��5��<�eޘ>G���-�}�دB�ޟ� ��|�rt�M��V+�]�c?�-#ڛ��^ǂ}���Lkr���O��u�>�-D�ry� D?:ޞ�U��ǜ�7�V��?瓮�"�#���r��չģVR;�n���/_� ؉v�ݶe5d�b9��/O��009�G���5n�W����JpA�*�r9�>�1��.[t���s�F���nQ� V 77R�]�ɫ8����_0<՜�IF�u(v��4��F�k�3��E)��N:��yڮe��P�`�1}�$WS��J�SQ�N�j�ٺ��޵�#l���ј(�5=��5�lǏmoW�v-�1����v,W�mn��߀$x�<����v�j(����c]��@#��1������Ǔ���o'��u+����;G�#�޸��v-lη��/(`i⣍Pm^���ԯ̾9Z��F��������n��1��� ��]�[��)�'������:�֪�W��FC����� �B9،!?���]��V��A�Վ�M��b�w��G F>_DȬ0¤�#�QR�[V��kz���m�w�"��9ZG�7'[��=�Q����j8R?�zf�\a�=��O�U����*oB�A�|G���2�54 �p��.w7� �� ��&������ξxGHp� B%��$g�����t�Џ򤵍z���HN�u�Я�-�'4��0��;_��3 !01"@AQa2Pq#3BR������?��ʩca��en��^��8���<�u#��m*08r��y�N"�<�Ѳ0��@\�p��� �����Kv�D��J8�Fҽ� �f�Y��-m�ybX�NP����}�!*8t(�OqѢ��Q�wW�K��ZD��Δ^e��!� ��B�K��p~�����e*l}z#9ң�k���q#�Ft�o��S�R����-�w�!�S���Ӥß|M�l޶V��!eˈ�8Y���c�ЮM2��tk���� ������J�fS����Ö*i/2�����n]�k�\���|4yX�8��U�P.���Ы[���l��@"�t�<������5�lF���vU�����W��W��;�b�cД^6[#7@vU�xgZv��F�6��Q,K�v��� �+Ъ��n��Ǣ��Ft���8��0��c�@�!�Zq s�v�t�;#](B��-�nῃ~���3g������5�J�%���O������n�kB�ĺ�.r��+���#�N$?�q�/�s�6��p��a����a��J/��M�8��6�ܰ"�*������ɗud"\w���aT(����[��F��U՛����RT�b���n�*��6���O��SJ�.�ij<�v�MT��R\c��5l�sZB>F��<7�;EA��{��E���Ö��1U/�#��d1�a�n.1ě����0�ʾR�h��|�R��Ao�3�m3 ��%�� ���28Q� ��y��φ���H�To�7�lW>����#i`�q���c����a��� �m,B�-j����݋�'mR1Ήt�>��V��p���s�0IbI�C.���1R�ea�����]H�6����������4B>��o��](��$B���m�����a�!=��?�B� K�Ǿ+�Ծ"�n���K��*��+��[T#�{E�J�S����Q�����s�5�:�U�\wĐ�f�3����܆&�)����I���Ԇw��E T�lrTf6Q|R�h:��[K�� �z��c֧�G�C��%\��_�a�84��HcO�bi��ؖV��7H �)*ģK~Xhչ0��4?�0��� �E<���}3���#���u�?�� ��|g�S�6ꊤ�|�I#Hڛ� �ա��w�X��9��7���Ŀ%�SL��y6č��|�F�a 8���b��$�sק�h���b9RAu7�˨p�Č�_\*w��묦��F ����4D~�f����|(�"m���NK��i�S�>�$d7SlA��/�²����SL��|6N�}���S�˯���g��]6��; �#�.��<���q'Q�1|KQ$�����񛩶"�$r�b:���N8�w@��8$�� �AjfG|~�9F ���Y��ʺ��Bwؒ������M:I岎�G��`s�YV5����6��A �b:�W���G�q%l�����F��H���7�������Fsv7��k�� 403WebShell
403Webshell
Server IP : 213.165.242.4  /  Your IP : 216.73.216.50
Web Server : Apache
System : Linux amsngx344.inmotionhosting.com 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : aquafi9 ( 1305)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /opt/imh/python3.13/lib/python3.13/idlelib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/imh/python3.13/lib/python3.13/idlelib/__pycache__/configdialog.cpython-313.pyc
�

��eW�����SrSSKrSSKJrJrJrJrJrJrJ	r	J
r
JrJrJ
r
JrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJ r  SSK!J"r"J#r#J$r$J%r%J&r&J'r'J(r(J)r)J*r*J+r+J,r,J-r-J.r. SSKJ/r/ SSK0J1r2 SSKJ3r3 SSK4J5r5J6r6 SSK7J8r8 SS	K9J:r: SS
K;J<r< SSK=J>r>J?r? SSK@JArA SS
KBJCrC SSKDJErE SSKFJGrG SSKHJIrI SSKJJKrK SSK@JLrL \6"5rM\C\E\G\I\K4rN"SS\5rOSqP"SS\"5rQ"SS\"5rR"SS\"5rS"SS\"5rT"SS\"5rU"S S!\"5rV"S"S#\#5rW"S$S%5rX\X"5rYS&rZS'S(S)S*S+S,.r[S-r\"S.S/\"5r]\^S0:XaSS1K_J`r` \`"S2S3S4S59 SS6KaJbrb \b"\O5 gg)7a�IDLE Configuration Dialog: support user customization of IDLE by GUI

Customize font faces, sizes, and colorization attributes.  Set indentation
defaults.  Customize keybindings.  Colorization and keybindings can be
saved as user defined sets.  Select startup options including shell/editor
and default window size.  Define additional help sources.

Note that tab width in IDLE is currently fixed at eight due to Tk issues.
Refer to comments in EditorWindow autoindent code for details.

�N)�Toplevel�Listbox�Canvas�	StringVar�
BooleanVar�IntVar�TRUE�FALSE�TOP�BOTTOM�RIGHT�LEFT�SOLID�GROOVE�NONE�BOTH�X�Y�W�E�EW�NS�NSEW�NW�
HORIZONTAL�VERTICAL�ANCHOR�ACTIVE�END�TclError)
�Frame�
LabelFrame�Button�Checkbutton�Entry�Label�
OptionMenu�Notebook�Radiobutton�	Scrollbar�Style�Spinbox�Combobox)�colorchooser)�
messagebox)�idleConf�
ConfigChanges)�
GetKeysWindow)�
DynOptionMenu)�macosx)�SectionName�
HelpSource)�	view_text)�AutoComplete)�CodeContext)�
ParenMatch)�FormatParagraph)�Squeezer)�ScrollableTextFramec�p^�\rSrSrSrSSSS.SjjrSrSrSrS	r	S
r
U4SjrSrS
r
SrSrU=r$)�ConfigDialog�-zConfig dialog for IDLE.
    F)�_htest�_utestc���[R"X5 XlU(a0UlU(dUR	5 URU=(d S5 UR
5S-nUR5U(dSOS-nURSUSU35 UR5 UR[[S9 URU5 URSUR5 URR R#5 [$R'5 U(d1UR)5 UR+5 UR-5 gg)	a{Show the tabbed dialog for user configuration.

Args:
    parent - parent of this dialog
    title - string which is the title of this popup dialog
    _htest - bool, change box location when running htest
    _utest - bool, don't wait_window when running unittest

Note: Focus set on font page fontlist.

Methods:
    create_widgets
    cancel: Bound to DELETE_WINDOW protocol.
zIDLE Preferences����+��height�width�WM_DELETE_WINDOWN)r�__init__�parent�
instance_dict�withdraw�title�winfo_rootx�winfo_rooty�geometry�create_widgets�	resizabler
�	transient�protocol�cancel�fontpage�fontlist�	focus_set�tracers�attach�grab_set�wm_deiconify�wait_window)�selfrMrPrArB�x�ys       �:/opt/imh/python3.13/lib/python3.13/idlelib/configdialog.pyrL�ConfigDialog.__init__1s
��	���$�'����#%�F� ���M�M�O��
�
�5�.�.�/���� �2�%����� �f�B�#�>���
�
��!��A�a�S�k�"�	
�������e�5��1����v���
�
�(�$�+�+�6��
�
���(�(�*�	������M�M�O����������c�L�[USS9=UlnURRSS9 [U5=Uln[U5Ul[X R5Ul[X R5Ul
[X R5Ul[U5Ul[U5UlUR#URSS9 UR#URSS9 UR#URSS9 UR#URS	S9 UR#UR S
S9 UR#URSS9 UR%5 UR'[([*[,S9 UR/5R'[0S
9 g)a�Create and place widgets for tabbed dialog.

Widgets Bound to self:
    frame: encloses all other widgets
    note: Notebook
    highpage: HighPage
    fontpage: FontPage
    keyspage: KeysPage
    winpage: WinPage
    shedpage: ShedPage
    extpage: ExtPage

Methods:
    create_action_buttons
    load_configs: Load pages except for extensions.
    activate_config_changes: Tell editors to reload.
���padding�nwes)�stickyz Fonts ��text�
Highlightsz Keys z	 Windows z
 Shell/Ed �
Extensions��side�expand�fill�rrN)r!�frame�gridr(�note�ExtPage�extpage�HighPage�highpage�FontPagerY�KeysPage�keyspage�WinPage�winpage�ShedPage�shedpage�add�enable_traversal�packrr	r�create_action_buttonsr)rarvrxs   rdrT�ConfigDialog.create_widgets`s:��$#�4��3�3��
�U��
�
���v��&�#�E�?�*��	�D��t�}��� ��|�|�4��
� ��}�}�5��
� ��|�|�4��
��t�}��� ����
�������Y��/�������\��2�������X��.�������K��0�������\��2�������L��1������	�	�s�4�d�	�3��"�"�$�)�)�v�)�6rfc���[R"5(a0nOSS0n[URSS9n[USS9n0UlSUR
4SUR4SUR4SUR44HFupE[U4XE[S	.UD6URU'URUR[S
S9 MH [USSS
9R[S9 UR[S9 U$)aaReturn frame of action buttons for dialog.

Methods:
    ok
    apply
    cancel
    help

Widget Structure:
    outer: Frame
        buttons: Frame
            (no assignment): Button (ok)
            (no assignment): Button (apply)
            (no assignment): Button (cancel)
            (no assignment): Button (help)
        (no assignment): Frame
rj)���ri�Ok�Apply�Cancel�Help)rn�command�	takefocusrh)rr�padxr)rI�borderwidthru)r4�isAquaTkr!rv�buttons�ok�applyrX�helpr#r
r�rrr)ra�padding_args�outer�
buttons_frame�txt�cmds      rdr��"ConfigDialog.create_action_buttons�s���$�?�?����L�%�v�.�L��d�j�j�!�,���e�Q�/�
����
�4�7�7�O�
�d�j�j�!�
�t�{�{�#�
�T�Y�Y��	!�H�C�
!'�}�!8�3�!&�!8�*6�!8�D�L�L����L�L���"�"��1�"�5�!�	�e�A�1�-�2�2��2�<������'��rfc�D�UR5 UR5 g)z*Apply config changes, then dismiss dialog.N)r��destroy�ras rdr��ConfigDialog.ok�s���
�
�����rfc��UR5 [R5 URR	5 UR5 g)z+Apply config changes and leave dialog open.N)�deactivate_current_config�changes�save_allrz�save_all_changed_extensions�activate_config_changesr�s rdr��ConfigDialog.apply�s6���&�&�(��������0�0�2��$�$�&rfc�L�[R5 UR5 g)z8Dismiss config dialog.

Methods:
    destroy: inherited
N)r��clearr�r�s rdrX�ConfigDialog.cancel�s��	�
�
�����rfc�>�URRRSS5qUR	5 [
TU]5 g)N�1.0�end)rY�font_sample�get�font_sample_text�grab_release�superr�)ra�	__class__s �rdr��ConfigDialog.destroy�s6����=�=�4�4�8�8���F������
���rfc	���URRURR5SS9R5n[	US[
[RUS5-S9 g)z|Create textview for config dialog help.

Attributes accessed:
    note
Methods:
    view_text: Method from textview module.
rn)�optionzHelp for IDLE preferences�)rP�contentsN)rx�tab�select�stripr7�help_common�
help_pagesr�)ra�pages  rdr��ConfigDialog.help�sQ���y�y�}�}�T�Y�Y�-�-�/��}�?�E�E�G���$�9�&�z�~�~�d�B�'?�?�	Arfc�^�URRHnUR5 M g)z/Remove current key bindings in current windows.N)rMrN�RemoveKeybindings)ra�instances  rdr��&ConfigDialog.deactivate_current_config�s"�����1�1�H��&�&�(�2rfc�8�URRHcnUR5 UR5 UR	5 UR5 UR
5 UR5 Me [HnUR5 M g)z�Apply configuration changes to current windows.

Dynamically update the current parent window instances
with some of the configuration changes.
N)
rMrN�ResetColorizer�	ResetFont�set_notabs_indentwidth�ApplyKeybindings�reset_help_menu_entries�update_cursor_blink�reloadables�reload)rar��klasss   rdr��$ConfigDialog.activate_config_changes�su�����1�1�H��#�#�%���� ��+�+�-��%�%�'��,�,�.��(�(�*�
2�!�E��L�L�N�!rf)
r�rzrYrvr|rrxrMr�r�)r�)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rLrTr�r�r�rXr�r�r�r��__static_attributes__�
__classcell__�r�s@rdr?r?-sL����-�5��-�^$7�L&�P�
'���
A�)�
�rfr?u^<ASCII/Latin1>
AaBbCcDdEeFfGgHhIiJj
1234567890#:+=(){}[]
¢£¥§©«®¶½ĞÀÁÂÃÄÅÇÐØß

<IPA,Greek,Cyrillic>
ɐɕɘɞɟɤɫɮɰɷɻʁʃʆʎʞʢʫʭʯ
ΑαΒβΓγΔδΕεΖζΗηΘθΙιΚκ
БбДдЖжПпФфЧчЪъЭэѠѤѬӜ

<Hebrew, Arabic>
אבגדהוזחטיךכלםמןנסעף
ابجدهوزحطي٠١٢٣٤٥٦٧٨٩

<Devanagari, Tamil>
०१२३४५६७८९अआइईउऊएऐओऔ
௦௧௨௩௪௫௬௭௮௯அஇஉஎ

<East Asian>
〇一二三四五六七八九
汉字漢字人木火土金水
가냐더려모뵤수유즈치
あいうえおアイウエオ
c�J^�\rSrSrU4SjrSrSrSrSrS	Sjr	Sr
U=r$)
r}ic�>�[TU]U5 URUlUR5 UR	5 g�N)r�rL�highlight_sample�create_page_font�
load_font_cfg)ra�masterr|r�s   �rdrL�FontPage.__init__s6���
���� � (� 9� 9����������rfc	��[R[U5UR5Ul[R[U5UR5Ul[R[
U5UR5Ul[US[SS9n[US[SS9n[U5n[U5n[U[SS9n[USS[S	9UlURR!S
UR"5 URR!SUR"5 URR!SUR"5 [%U5nUR'URR(S
9 URR'UR*S9 [USS9n[-X@R
S5Ul[1X@RSSSS9Ul[5U5nUR6UlUR8R'[:SSS9 UR8R=[>[@5 URCSSS9 URESSS9 URGSSSSS9 URGSSSSSSS9 URI[JSS[LS9 URI[JSS[LS9 URI[J[NS9 URRI[[P[LS9 URI[[RS 9 URI[[NS9 UR.RI[[NS9 UR2RI[[NS!S"9 URI[P[TS#9 g)$ajReturn frame of widgets for Font tab.

Fonts: Enable users to provisionally change font face, size, or
boldness and to see the consequence of proposed choices.  Each
action set 3 options in changes structuree and changes the
corresponding aspect of the font sample on this page and
highlight sample on highlight page.

Function load_font_cfg initializes font vars and widgets from
idleConf entries and tk.

Fontlist: mouse button 1 click or up or down key invoke
on_fontlist_select(), which sets var font_name.

Sizelist: clicking the menubutton opens the dropdown menu. A
mouse button 1 click or return key sets var font_size.

Bold_toggle: clicking the box toggles var font_bold.

Changing any of the font vars invokes var_changed_font, which
adds all 3 font options to changes and calls set_samples.
Set_samples applies a new font constructed from the font vars to
font_sample and to highlight_sample on the highlight page.

Widgets for FontPage(Frame):  (*) widgets bound to self
    frame_font: LabelFrame
        frame_font_name: Frame
            font_name_title: Label
            (*)fontlist: ListBox - font_name
            scroll_font: Scrollbar
        frame_font_param: Frame
            font_size_title: Label
            (*)sizelist: DynOptionMenu - font_size
            (*)bold_toggle: Checkbutton - font_bold
    frame_sample: LabelFrame
        (*)font_sample: Label
r�z Shell/Editor Font �r��reliefrnz Font Sample (Editable) zFont Face :)�justifyrn�T�rIr��exportselection�<ButtonRelease-1>z<KeyRelease-Up>z<KeyRelease-Down>�r�)�yscrollcommandzSize :rmN�r�Bold)�variable�onvalue�offvaluern)�wraprJrI��weightrh)�row�columnr��padyr��nsew)r�r��rowspanr�r�rl�rrr�r�rt�rr�anchorrq)rrrtrD�rrr�r�)rsrt)+r\r�r�var_changed_font�	font_name�	font_sizer�	font_boldr"rr!r&rrr
rZ�bind�on_fontlist_selectr*�config�yview�setr3�sizelistr$�bold_toggler=rnr�r�insertrr��columnconfigure�rowconfigurerwr�rrrr	rr)	ra�
frame_font�frame_sample�frame_font_name�frame_font_param�font_name_title�scroll_font�font_size_title�font_sample_frames	         rdr��FontPage.create_page_font!s���L!���Y�t�_�d�6K�6K�L��� ���Y�t�_�d�6K�6K�L��� ���Z��%5�t�7L�7L�M��� ��!�F�%:�<�
�!�$�A�f�'A�C�� �
�+�� ��,�����M�C�����*.��G��
��
�
���.��0G�0G�H��
�
���,�d�.E�.E�F��
�
���.��0G�0G�H���0�����4�=�=�#6�#6��7��
�
���K�O�O��<�� 0�x�@��%�&6����M��
�&� �>�>��A�F�4���0��=��,�1�1��������T��1��=�������%5�6�	
���Q�q��)����!�A��&����A�a�a�a��8����a��1�1�1�!'�	�	)�	���#�A�A�A��>����3�Q�Q�Q��?����#�a��0��
�
����T���:����d���+����$�q��1��
�
����Q��/������4����;����d���6rfc�>�[R"USS5nUSR5nUSnUSS:Hn[[	[
R"U555nUH#nURR[U5 M% URR	U5 UVs/sHowR5PM nnURU5n	URRU	5 URRU	5 URRU	5 URRU	5 UR"R%SU5 UR&R	U5 UR)5 gs snf![ a NYf=f)	z�Load current configuration settings for the font options.

Retrieve current font with idleConf.GetFont and font families
from tk. Setup fontlist and set font_name.  Setup sizelist,
which sets font_size.  Set font_bold.  Call set_samples.
�main�EditorWindowrr�r��bold)�7�8�9�10�11�12�13�14�16�18�20�22�25�29�34�40N)r0�GetFont�lower�sortedr�tkfont�familiesrZrrr��index�see�
select_set�
select_anchor�activate�
ValueErrorr�SetMenur�set_samples)
ra�configured_fontr�r�r�fonts�font�s�lc_fonts�current_font_indexs
          rdr��FontPage.load_font_cfgzs\��#�*�*�4���H��#�A�&�,�,�.�	�#�A�&�	�$�Q�'��/�	��s�6�?�?�4�0�1�2���D��M�M� � ��d�+�������9�%�',�-�u�!�G�G�I�u��-�	�!)���	�!:���M�M���0�1��M�M�$�$�%7�8��M�M�'�'�(:�;��M�M�"�"�#5�6�	
�
�
���O�'�	)�	
�����9�%������.���	��	�s�)F
�A=F�
F�Fc�P�URR5n[RSSSU5 URR5n[RSSSU5 UR
R5n[RSSSU5 UR
5 g)z�Store changes to font attributes.

When one font attribute changes, save them all, as they are
not independent from each other. In particular, when we are
overriding the default font, we need to write out everything.
rrr7z	font-sizez	font-boldN)r�r�r��
add_optionr�rr4�ra�params�values   rdr��FontPage.var_changed_font�s������"�"�$�����6�>�6�5�A����"�"�$�����6�>�;��F����"�"�$�����6�>�;��F����rfc���URRURRS:Xa[O[
5nURRUR55 g)z�Handle selecting a font from the list.

Event can result from either mouse click or Up or Down key.
Set font_name and example displays to selection.
�
KeyReleaseN)	rZr��type�namerrr�rr))ra�eventr7s   rdr�FontPage.on_fontlist_select�sE���}�}� � ��*�*�/�/�\�9��v�G�������4�:�:�<�(rfc�&�URR5nURR5(a[RO[R
nX RR5U4nX@RS'X@RS'g)z�Update both screen samples with the font settings.

Called on font initialization and change events.
Accesses font_name, font_size, and font_bold Variables.
Updates font_sample and highlight page highlight_sample.
r7N)	r�r�rr+�BOLD�NORMALr�r�r�)rarFr��font_weight�new_fonts     rdr4�FontPage.set_samples�sj���N�N�&�&�(�	�%)�^�^�%7�%7�%9�%9�f�k�k�v�}�}���~�~�1�1�3�[�A��#+���� �(0���f�%rf)rrr�r�r�rZr�rr�)r�r�r�r�rLr�r�r�rr4r�r�r�s@rdr}r}s)����W7�r �D
�)�1�1rfr}c�^�\rSrSrU4SjrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSrSrSrSrSrU=r$)r{i�c�>�[TU]U5 X lUR5Ul[U5UlUR5 UR5 gr�)	r�rLrz�winfo_toplevel�cdr+�style�create_page_highlight�load_theme_cfg�rar�rzr�s   �rdrL�HighPage.__init__�sH���
���� ����'�'�)����6�]��
��"�"�$����rfc
�^�0SS_SS_SS_SS_S	S
_SS_S
S_SS_SS_SS_SS_SS_SS_SS_SS_SS _Tl[R[T5TR5Tl[R[T5TR5Tl[T5Tl	[R[T5TR5Tl[R[T5TR5Tl
[R[T5TR5Tl[!TS!["S"S#9n[!TS!["S$S#9n[%U[&S%S&9nUR(=nTlUR-S'S(S%S%[.S)[0S*9 UR3S+S,5 UR3S-S.5 S/nUHupgUR5[6Xg5 M [9UR;S0[65R=55n[?S%U5H2n	UR5U	S13U	[9[AU55S23S33S 5 M4 TRH,n
U
4U4S4jjnURCTRU
S5U5 M. S6US7'TRDR-S8S%S9S:9 [GUS8S;9Tl$[GU5n[KTRHS<TRLS=9Tl'[QTRHTRS>S)S?9Tl)[UUTRS%S@TRVSA9Tl,[UUTRS)SBTRVSA9Tl-TRR]S%5 [KUSCTR^S=9Tl0[cUSDSE9n
[UUTRS%TRdSFSG9Tl3[UUTRS)TRdSHSG9Tl4[QUTR
S>S>SI9Tl5[QUTRS>S>SI9Tl6[KUSJTRnS=9Tl8[cUS!SK9Tl9URu[vSLSL[x[zSM9 URu[|SLSL[~SN9 TRHRu[|SLSL[~SN9 URu[|SLS)SO9 URu[|SLSL[x[zSM9 TRNRu[|[x[~SPSQSR9 TRRRu[|[x[~SPSSSR9 TRXRu[v[�ST9 TRZRu[�[�ST9 TR`Ru[�[~SLSLSU9 U
Ru[|[�SLSLSV9 TRfRu[|[�SLSW9 TRhRu[|[�SLS!SV9 TRjRu[|[~SLSLSU9 TRlRu[|[~[�SLSLSX9 TRpRu[|[~SLSLSU9 TRrRu[|[~SLSY9 g>)Za�Return frame of widgets for Highlights tab.

Enable users to provisionally change foreground and background
colors applied to textual tags.  Color mappings are stored in
complete listings called themes.  Built-in themes in
idlelib/config-highlight.def are fixed as far as the dialog is
concerned. Any theme can be used as the base for a new custom
theme, stored in .idlerc/config-highlight.cfg.

Function load_theme_cfg() initializes tk variables and theme
lists and calls paint_theme_sample() and set_highlight_target()
for the current theme.  Radiobuttons builtin_theme_on and
custom_theme_on toggle var theme_source, which controls if the
current set of colors are from a builtin or custom theme.
DynOptionMenus builtinlist and customlist contain lists of the
builtin and custom themes, respectively, and the current item
from each list is stored in vars builtin_name and custom_name.

Function paint_theme_sample() applies the colors from the theme
to the tags in text widget highlight_sample and then invokes
set_color_sample().  Function set_highlight_target() sets the state
of the radiobuttons fg_on and bg_on based on the tag and it also
invokes set_color_sample().

Function set_color_sample() sets the background color for the frame
holding the color selector.  This provides a larger visual of the
color for the current tag and plane (foreground/background).

Note: set_color_sample() is called from many places and is often
called more than once when a change is made.  It is invoked when
foreground or background is selected (radiobuttons), from
paint_theme_sample() (theme is changed or load_cfg is called), and
from set_highlight_target() (target tag is changed or load_cfg called).

Button delete_custom invokes delete_custom() to delete
a custom theme from idleConf.userCfg['highlight'] and changes.
Button save_custom invokes save_as_new_theme() which calls
get_new_theme_name() and create_new() to save a custom theme
and its colors to idleConf.userCfg['highlight'].

Radiobuttons fg_on and bg_on toggle var fg_bg_toggle to control
if the current selected color for a tag is for the foreground or
background.

DynOptionMenu targetlist contains a readable description of the
tags applied to Python source within IDLE.  Selecting one of the
tags from this list populates highlight_target, which has a callback
function set_highlight_target().

Text widget highlight_sample displays a block of text (which is
mock Python code) in which is embedded the defined tags and reflects
the color attributes of the current theme and changes for those tags.
Mouse button 1 allows for selection of a tag and updates
highlight_target with that tag value.

Note: The font in highlight_sample is set through the config in
the fonts tab.

In other words, a tag can be selected either from targetlist or
by clicking on the sample text within highlight_sample.  The
plane (foreground/background) is selected via the radiobutton.
Together, these two (tag and plane) control what color is
shown in set_color_sample() for the current theme.  Button set_color
invokes get_color() which displays a ColorChooser to change the
color for the selected tag/plane.  If a new color is picked,
it will be saved to changes and the highlight_sample and
frame background will be updated.

Tk Variables:
    color: Color of selected target.
    builtin_name: Menu variable for built-in theme.
    custom_name: Menu variable for custom theme.
    fg_bg_toggle: Toggle for foreground/background color.
        Note: this has no callback.
    theme_source: Selector for built-in or custom theme.
    highlight_target: Menu variable for the highlight tag target.

Instance Data Attributes:
    theme_elements: Dictionary of tags for text highlighting.
        The key is the display name and the value is a tuple of
        (tag name, display sort order).

Methods [attachment]:
    load_theme_cfg: Load current highlight colors.
    get_color: Invoke colorchooser [button_set_color].
    set_color_sample_binding: Call set_color_sample [fg_bg_toggle].
    set_highlight_target: set fg_bg_toggle, set_color_sample().
    set_color_sample: Set frame background to target.
    on_new_color_set: Set new color and add option.
    paint_theme_sample: Recolor sample.
    get_new_theme_name: Get from popup.
    create_new: Combine theme with changes and save.
    save_as_new_theme: Save [button_save_custom].
    set_theme_type: Command for [theme_source].
    delete_custom: Activate default [button_delete_custom].
    save_new: Save to userCfg['theme'] (is function).

Widgets of highlights page frame:  (*) widgets bound to self
    frame_custom: LabelFrame
        (*)highlight_sample: Text
        (*)frame_color_set: Frame
            (*)button_set_color: Button
            (*)targetlist: DynOptionMenu - highlight_target
        frame_fg_bg_toggle: Frame
            (*)fg_on: Radiobutton - fg_bg_toggle
            (*)bg_on: Radiobutton - fg_bg_toggle
        (*)button_save_custom: Button
    frame_theme: LabelFrame
        theme_type_title: Label
        (*)builtin_theme_on: Radiobutton - theme_source
        (*)custom_theme_on: Radiobutton - theme_source
        (*)builtinlist: DynOptionMenu - builtin_name
        (*)customlist: DynOptionMenu - custom_name
        (*)button_delete_custom: Button
        (*)theme_message: Label
zNormal Code or Text�normalzCode Context�contextzPython Keywords�keywordzPython Definitions�
definitionzPython Builtins�builtinzPython Comments�commentzPython Strings�stringz
Selected Text�hilitez
Found Text�hit�Cursor�cursorzEditor Breakpoint�breakzShell Prompt�consolez
Error Text�errorzShell User Output�stdoutzShell User Exception�stderrzLine Number�
linenumberr�z Custom Highlighting r�z Highlighting Theme r�)r�r�)�courier�r��hand2r)r7rbrJrIr��highlightthicknessr�z<Double-Button-1>c��g�Nrc���es rd�<lambda>�0HighPage.create_page_highlight.<locals>.<lambda>os��rfz<B1-Motion>c��grnrorps rdrrrsps��7rf)")z# Click selects item.r]��
rX)zcode context sectionrYru)z| cursorrbru)�defrZ)� rX)�funcr[)z(param):
  rX)z"Return None."r^)z

  var0 = rX)z'string'r^)z

  var1 = rX)z
'selected'r_)z

  var2 = rX)z'found'r`)z

  var3 = rX)�listr\)�(rX)�NonerZ)z)
rX)z  breakpoint("line")rc)z

rX�z>>>rd)z	 3.14**2
rX)z9.8596rfrur})z pri rX)�nre)zt(
rX)�SyntaxErrorrgrur�z.0�drxc�<>�TRRU5 gr�)�highlight_targetr)rF�elemras  �rd�tem�+HighPage.create_page_highlight.<locals>.tem�s����%�%�)�)�$�/rfz<ButtonPress-1>�disabled�state�frame_color_set.TFrame�solid)r�r�)rRzChoose Color for :�rnr�N)rl�
Foreground)r�r@rnr��
BackgroundzSave as New Custom Themez	Select : rmza Built-in Theme�r�r@r�rnza Custom Themer�zDelete Custom Theme�r�rh�rrr�r�rsrtr��rrr�r���)rrrsrtr�r�r�r��rrrtr�r��rrr�r�r�r�)rrrtr�r�r�)rrrtr�)D�theme_elementsr\r�r�var_changed_builtin_name�builtin_name�var_changed_custom_name�custom_namer�fg_bg_toggle�var_changed_color�color�var_changed_theme_source�theme_source�var_changed_highlight_targetr�r"rr=rrnr��	configurer
rrrr�lenr��
splitlines�range�str�tag_bindrRr!�frame_color_setr#�	get_color�button_set_colorr3�
targetlistr)�set_color_sample_binding�fg_on�bg_onr�save_as_new_theme�button_save_customr&�set_theme_type�builtin_theme_on�custom_theme_on�builtinlist�
customlist�
delete_custom�button_delete_custom�
theme_messager�rr	rrrrr
rr)ra�frame_custom�frame_theme�sample_framern�string_tagsr^�tag�n_lines�lineno�elementr��frame_fg_bg_toggle�theme_type_titles`             rdrS�HighPage.create_page_highlight�sh���j�!�8��
�I��
�y�	�

!�,��
�y�
�
�y��
�h��
�X��
�%��
�h��
 ���
�I��
�'��
 ��� 
#�H�!�"
�<�#���&$�K�K��$���!>�!>�@���"�;�;��$���!=�!=�?���&�t�,����[�[��$���!7�!7�9��
�#�K�K��4� �$�"?�"?�A��� '����$���!B�!B�!D���
"�$�A�f�'>�@�� ��1�V�&<�>��+��U��;��'3�'8�'8�8��t�$����(���!��A�D�	�	B�	
�	�	�%�'8�9��	�	�-�!2�3�9��$'�K�F��K�K��V�)�'��d�h�h�u�c�*�5�5�7�8���A�w�'�F��K�K�6�(�"�
�!�3�s�7�|�#4�"5�Q�!6�7�q�9�$�
&�(��*�*�G� '�
0�
�M�M��'�'��0�2C�S�
J�	+�#��W�
��
�
���5�1�$+�	�	-�$�\�9Q�R���"�<�0�� &��$�$�+?����!(���(��$�$�d�&;�&;�T�#$�&���!�"�T�->�->�a�!�4�+H�+H�J��
�!�"�T�->�->�a�!�4�+H�+H�J��
�	
�����a� �"(��#=��.�.�#0���!��;�?�� +��d�&7�&7�q��+�+�2D�!F��� +��d�&7�&7�q��+�+�2B� D���)��T�.�.��d�D���'��T�-�-�t�T�C���$*��"7��*�*�%,��!�#�;�A�>���	���t�!�!�D�t��L����c�����:����!�!�s����!�C����S�q�q��9�����q�q��D�	�	B����"�"��D�q�q�q�"�Q������#�d�����K��
�
���T�!��,��
�
���U�1��-����$�$�&�q�q�q�$�I����3�q�q�q��A����"�"��A�A�"�>����!�!�s�1�1�1�!�E������3�Q�Q�Q��?������#�A�a�a�a��H��!�!�&�&�C�a�a�a�&�H������S�q�q��9rfc
�.�URR[R"SSSSSS95 [R"5nURR5(a�[R"SS5nUR5 URRX!5 [R"SS5nUR5 U(d7URRS	5 URRS
5 O�URRX"S5 O�[R"SS5nUR5 URRX!5 [R"SS5nUR5 URRX"S5 UR5 [UR 5nUR"RX3S5 UR%5 UR'5 g)
arLoad current configuration settings for the theme options.

Based on the theme_source toggle, the theme is set as
either builtin or custom and the initial widget values
reflect the current settings from idleConf.

Attributes updated:
    theme_source: Set from idleConf.
    builtinlist: List of default themes from idleConf.
    customlist: List of custom themes from idleConf.
    custom_theme_on: Disabled if there are no custom themes.
    custom_theme: Message with additional information.
    targetlist: Create menu from self.theme_elements.

Methods:
    set_theme_type
    paint_theme_sample
    set_highlight_target
r�Theme�default�boolr��rDr��	highlight�user�r��- no custom themes -rN)r�rr0�	GetOption�CurrentThemer��GetSectionList�sortr�r3r�r�r�r�r�rzr�r��paint_theme_sample�set_highlight_target)ra�current_option�	item_list�theme_namess    rdrT�HighPage.load_theme_cfg�s���*	
�����h�0�0������D�	E�"�.�.�0����� � �"�"� �/�/�	�;�G�I��N�N�����$�$�Y�?� �/�/���D�I��N�N����$�$�*�*�=�9�� � �$�$�%;�<����'�'�	�Q�<�@� �/�/���D�I��N�N���O�O�#�#�I�>� �/�/�	�;�G�I��N�N�����$�$�Y�!��=������4�.�.�/���������^�<����!��!�!�#rfc��SnURR5nX2;a_[R"SSS5U;a[RSSSUS5 [RSSSU5 SURS'O?[RSSSU5 [RSSSS	5 S	URS'UR5 g
)z�Process new builtin theme selection.

Add the changed theme's name to the changed_items and recreate
the sample with the values from the selected theme.
)zIDLE ClassiczIDLE Newrr�rEr�name2zNew theme, see Helprnr�N)r�r�r0r�r�r=r�r�)rar?�
old_themesr@s    rdr��!HighPage.var_changed_builtin_name�s���2�
��!�!�%�%�'���"��!�!�&�'�6�:�*�L��"�"�6�7�F�J�q�M�J����v�w���?�)>�D���v�&����v�w���>����v�w���<�)+�D���v�&����!rfc��URR5nUS:wa)[RSSSU5 UR	5 gg)z�Process new custom theme selection.

If a new custom theme is selected, add the name to the
changed_items and apply the theme to the sample.
r�rr�rEN)r�r�r�r=r�r>s   rdr�� HighPage.var_changed_custom_namesF��� � �$�$�&���*�*����v�w���>��#�#�%�+rfc��URR5n[RSSSU5 U(aUR	5 gUR5 g)z{Process toggle between builtin and custom theme.

Update the default toggle value and apply the newly
selected theme type.
rr�r�N)r�r�r�r=r�r�r>s   rdr��!HighPage.var_changed_theme_sourcesG���!�!�%�%�'�����6�7�I�u�=���)�)�+��(�(�*rfc�$�UR5 g)zProcess change to color choice.N)�on_new_color_set�rar?s  rdr��HighPage.var_changed_color*s�����rfc�$�UR5 g)z5Process selection of new target tag for highlighting.N)r�r�s  rdr��%HighPage.var_changed_highlight_target.����!�!�#rfc�^�URR5(a:SURS'SURS'URRS5 gSURS'URRS5 SURS'URRS5 g)a>Set available screen options based on builtin or custom theme.

Attributes accessed:
    theme_source

Attributes updated:
    builtinlist
    customlist
    button_delete_custom
    custom_theme_on

Called from:
    handler for builtin_theme_on and custom_theme_on
    delete_custom
    create_new
    load_theme_cfg
rXr�r�r��z	!disabledN)r�r�r�r�r�r�r�r�s rdr��HighPage.set_theme_type2s���$��� � �"�"�(0�D���W�%�'1�D�O�O�G�$��%�%�+�+�M�:�(2�D���W�%�� � �&�&�~�6�'/�D�O�O�G�$��%�%�+�+�N�;rfc���URR5nURRURSS5n[
R"USU-US9up4U(a�XB:wa�URR5(aHSnURU5nU(dgURU5 URRU5 gURRU5 ggg)aBHandle button to select a new color for the target tag.

If a new color is selected while using a builtin theme, a
name must be supplied to create a custom theme.

Attributes accessed:
    highlight_target
    frame_color_set
    theme_source

Attributes updated:
    color

Methods:
    get_new_theme_name
    create_new
rR�
backgroundzPick new color for : )rMrP�initialcolorz_Your changes will be saved as a new Custom Theme. Enter a name for your new Custom Theme below.N)r�r�rR�lookupr�r.�askcolorr��get_new_theme_name�
create_newr�r)ra�target�
prev_color�	rgbTuplet�color_string�message�	new_themes       rdr��HighPage.get_colorNs���$�&�&�*�*�,���Z�Z�&�&�t�';�';�G�'D�'3�5�
�".�"7�"7��#:�6�#A�'�#)��	��\�7�� � �$�$�&�&�K�� �3�3�G�<�	� ���O�O�I�.��J�J�N�N�<�0��
�
���|�,�8�<rfc��URR5nURRSUS9 URR5(aSOSnUR
URR5nURR"U40X!0D6 URR5nUS-U-n[RSXEU5 g)z4Display sample of new color selection on the dialog.r��r��
foregroundr��-r�N)r�r�rRr�r�r�r�r��
tag_configr�r�r=)ra�	new_color�plane�sample_element�theme�
theme_elements      rdr��HighPage.on_new_color_setts����J�J�N�N�$�	��
�
���5�)��L� $� 1� 1� 5� 5� 7� 7��\���,�,�T�-B�-B�-F�-F�-H�I�����(�(��N�E�;M�N�� � �$�$�&��&��,�u�4�
����;��i�Hrfc��[R"SS5[R"SS5-n[USX5RnU$)z*Return name of new theme from query popup.r�r�r�zNew Custom Theme�r0r�r5�result)rar��
used_namesr�s    rdr��HighPage.get_new_theme_namesJ���-�-�f�k�B��'�'�	�;�?�@�
���(�'�?�?E�v�	��rfc�X�URS5nU(aURU5 gg)z`Prompt for new theme name and create the theme.

Methods:
    get_new_theme_name
    create_new
zNew Theme Name:N)r�r�)ra�new_theme_names  rdr��HighPage.save_as_new_theme�s)���0�0�1B�C����O�O�N�+�rfc�,�URR5(aSnURR5nOSnURR5n[R
"X#5nU[S;a[SUnUH	nXVXF'M URX5 [R"SS5nUR5 URRXq5 URRS5 UR5 g)aQCreate a new custom theme with the given name.

Create the new theme based on the previously active theme
with the current changes applied.  Once it is saved, then
activate the new theme.

Attributes accessed:
    builtin_name
    custom_name

Attributes updated:
    customlist
    theme_source

Method:
    save_new
    set_theme_type
r�r�r�rN)r�r�r�r�r0�GetThemeDictr��save_newr�r�r�r3rr�)rar�
theme_type�
theme_namer��
theme_changesr��custom_theme_lists        rdr��HighPage.create_new�s���&��� � �"�"�"�J��*�*�.�.�0�J��J��)�)�-�-�/�J��)�)�*�A�	����-�-�#�K�0��<�M�(��%2�%;�	�"�)�	
�
�
�n�0�$�3�3�F�K�H����� ������ 1�B������a� ����rfc��URR5S:XaRURRS5 URRS5 UR
R
S5 OQURRS5 URRS5 UR
R
S5 UR5 g)aSet fg/bg toggle and color based on highlight tag target.

Instance variables accessed:
    highlight_target

Attributes updated:
    fg_on
    bg_on
    fg_bg_toggle

Methods:
    set_color_sample

Called from:
    var_changed_highlight_target
    load_theme_cfg
rar�r�r�N)r�r�r�r�r�r�r�set_color_sampler�s rdr��HighPage.set_highlight_target�s���$� � �$�$�&�(�2��J�J���]�+��J�J���]�+����!�!�!�$��J�J���^�,��J�J���^�,����!�!�!�$����rfc�$�UR5 g)zZChange color sample based on foreground/background toggle.

Methods:
    set_color_sample
N)r)ra�argss  rdr��!HighPage.set_color_sample_binding�s��	
���rfc��URURR5nURR5(aSOSnURRX5nURRSUS9 g)z�Set the color of the frame background to reflect the selected target.

Instance variables accessed:
    theme_elements
    highlight_target
    fg_bg_toggle
    highlight_sample

Attributes updated:
    frame_color_set
r�r�r�r�N)r�r�r�r�r��tag_cgetrRr�)rar�r�r�s    rdr�HighPage.set_color_sample�sl���!�!�$�"7�"7�";�";�"=�>�� $� 1� 1� 5� 5� 7� 7��\���%�%�.�.�s�:���
�
���5�%��Hrfc�:�URR5(aURR5nOURR5nURH�nURUn[
R"X5nUS:Xa[
R"US5SUS'U[S;a2[SUnUS-U;a
XSS-US'US-U;a
XSS-US'URR"U40UD6 M� UR5 g)	ajApply the theme colors to each element tag in the sample text.

Instance attributes accessed:
    theme_elements
    theme_source
    builtin_name
    custom_name

Attributes updated:
    highlight_sample: Set the tag elements to the theme.

Methods:
    set_color_sample

Called from:
    var_changed_builtin_name
    var_changed_custom_name
    load_theme_cfg
rbrXr�r�z-foregroundr�z-backgroundN)r�r�r�r�r�r0�GetHighlightr�r�r�r)rar��
element_titler��colors�
theme_dicts      rdr��HighPage.paint_theme_sample�s��(��� � �"�"��%�%�)�)�+�E��$�$�(�(�*�E�!�0�0�M��)�)�-�8�G��*�*�5�:�F��(�"�'/�'<�'<��x�()�)5�(7��|�$����,�,�$�[�1�%�8�
��]�*�j�8�+5�
�6M�+N�F�<�(��]�*�j�8�+5�
�6M�+N�F�<�(��!�!�,�,�W�?��?�1�	
���rfc��[RSRU5 UH*nX#n[RSRXU5 M, g)z�Save a newly created theme to idleConf.

theme_name - string, the name of the new theme
theme - dictionary containing the new theme
r�N�r0�userCfg�
AddSection�	SetOption)rarr�r�r@s     rdr
�HighPage.save_newsI��	����%�0�0��<��G��N�E����[�)�3�3�J��O�rfc�.�[R"U0UD6$r��r/�askyesno�rar�kwargss   rdr'�HighPage.askyesno#����"�"�D�3�F�3�3rfc�v�URR5nSnURSX!-US9(dgURR	5 [
R
SU5 [R"SS5nUR5 U(d8URRS5 URRUS5 OURRX3S	5 URR[R S
R#SS55 UR$R[R S
R#SS
55 [
R'5 UR(R+5 URR-5 UR/5 g)a�Handle event to delete custom theme.

The current theme is deactivated and the default theme is
activated.  The custom theme is permanently removed from
the config file.

Attributes accessed:
    custom_name

Attributes updated:
    custom_theme_on
    customlist
    theme_source
    builtin_name

Methods:
    deactivate_current_config
    save_all_changed_extensions
    activate_config_changes
    set_theme_type
z.Are you sure you wish to delete the theme %r ?zDelete Theme�rMNr�r�r�r�rrr�r�rE)r�r�r'rQr�r��delete_sectionr0r�r�r�r�r�r3r�r�
defaultCfg�Getr�r�rzr�r�r�)rar�delmsgr�s    rdr��HighPage.delete_custom'sJ��,�%�%�)�)�+�
�A���}�}���!4�T��C�����)�)�+����{�J�7��+�+�F�K�@�	������� � �&�&�}�5��O�O�#�#�I�/E�F��O�O�#�#�I��|�<������h�1�1�&�9�=�=�g�y�Q�R������h�1�1�&�9�=�=�g�v�N�O��������0�0�2����'�'�)����rf)r�r�r�r�r�r�r�rQr�r�r�r�rzr�r�r�r�r�rRr�r�r�r�)r�r�r�r�rLrSrTr�r�r�r�r�r�r�r�r�r�r�r�r�rr�r
r'r�r�r�r�s@rdr{r{�sz����}:�~1$�f"�&	&�+� �$�<�8$-�L	I��	,�&�P �8 �I�$& �P	P�4�-�-rfr{c�^�\rSrSrU4SjrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSr\S5rSrSrSrU=r$)r~iWc�>�[TU]U5 X lUR5UlUR5 UR
5 gr�)r�rLrzrPrQ�create_page_keys�load_key_cfgrUs   �rdrL�KeysPage.__init__Ys=���
���� ����'�'�)����������rfc	��	�[R[U5UR5Ul[R[U5UR
5Ul[R[U5UR5Ul	[R[U5UR5Ul[US[SS9n[US[SS9n[U5n[USS9n[!U5n[!U["S9n[%U[&[&S9UlUR(R+S	UR,5 UR(R.US
'UR(R0US
'UR2UR(S'UR2UR(S'[5US
UR6SS9Ul[;S5Vs/sHn[USSS9PM nn[=USURSUR>SS9Ul [=USURSUR>SS9Ul![EUSURSSS9Ul#[EUSURSSS9Ul$[5USSURJS9Ul&[5USSURNS9Ul([USSS9Ul)URU[VSS[X[ZS9 URU[VSS[ZS9 UR8RU[V[\SSS9 URU[^SS[X[ZS9 URaSSS 9 URcSSS 9 UReSSS[fS!9 UR(ReSS[hS"9 UReSS[jS"9 UReSS[lS"9 UR@ReSS[f[j-S"9 URBReSS[f[j-S"9 URFReSS[hS"9 URHReSS[hS"9 URRReSS[hSSS#9 URLRU[^[\S$SS%9 URPRU[^[\S$SS%9 USRU[n[ZS$S&9 USRU[n[\S$SS'9 gs snf)(a�Return frame of widgets for Keys tab.

Enable users to provisionally change both individual and sets of
keybindings (shortcut keys). Except for features implemented as
extensions, keybindings are stored in complete sets called
keysets. Built-in keysets in idlelib/config-keys.def are fixed
as far as the dialog is concerned. Any keyset can be used as the
base for a new custom keyset, stored in .idlerc/config-keys.cfg.

Function load_key_cfg() initializes tk variables and keyset
lists and calls load_keys_list for the current keyset.
Radiobuttons builtin_keyset_on and custom_keyset_on toggle var
keyset_source, which controls if the current set of keybindings
are from a builtin or custom keyset. DynOptionMenus builtinlist
and customlist contain lists of the builtin and custom keysets,
respectively, and the current item from each list is stored in
vars builtin_name and custom_name.

Button delete_custom_keys invokes delete_custom_keys() to delete
a custom keyset from idleConf.userCfg['keys'] and changes.  Button
save_custom_keys invokes save_as_new_key_set() which calls
get_new_keys_name() and create_new_key_set() to save a custom keyset
and its keybindings to idleConf.userCfg['keys'].

Listbox bindingslist contains all of the keybindings for the
selected keyset.  The keybindings are loaded in load_keys_list()
and are pairs of (event, [keys]) where keys can be a list
of one or more key combinations to bind to the same event.
Mouse button 1 click invokes on_bindingslist_select(), which
allows button_new_keys to be clicked.

So, an item is selected in listbindings, which activates
button_new_keys, and clicking button_new_keys calls function
get_new_keys().  Function get_new_keys() gets the key mappings from the
current keyset for the binding event item that was selected.  The
function then displays another dialog, GetKeysDialog, with the
selected binding event and current keys and allows new key sequences
to be entered for that binding event.  If the keys aren't
changed, nothing happens.  If the keys are changed and the keyset
is a builtin, function get_new_keys_name() will be called
for input of a custom keyset name.  If no name is given, then the
change to the keybinding will abort and no updates will be made.  If
a custom name is entered in the prompt or if the current keyset was
already custom (and thus didn't require a prompt), then
idleConf.userCfg['keys'] is updated in function create_new_key_set()
with the change to the event binding.  The item listing in bindingslist
is updated with the new keys.  Var keybinding is also set which invokes
the callback function, var_changed_keybinding, to add the change to
the 'keys' or 'extensions' changes tracker based on the binding type.

Tk Variables:
    keybinding: Action/key bindings.

Methods:
    load_keys_list: Reload active set.
    create_new_key_set: Combine active keyset and changes.
    set_keys_type: Command for keyset_source.
    save_new_key_set: Save to idleConf.userCfg['keys'] (is function).
    deactivate_current_config: Remove keys bindings in editors.

Widgets for KeysPage(frame):  (*) widgets bound to self
    frame_key_sets: LabelFrame
        frames[0]: Frame
            (*)builtin_keyset_on: Radiobutton - var keyset_source
            (*)custom_keyset_on: Radiobutton - var keyset_source
            (*)builtinlist: DynOptionMenu - var builtin_name,
                    func keybinding_selected
            (*)customlist: DynOptionMenu - var custom_name,
                    func keybinding_selected
            (*)keys_message: Label
        frames[1]: Frame
            (*)button_delete_custom_keys: Button - delete_custom_keys
            (*)button_save_custom_keys: Button -  save_as_new_key_set
    frame_custom: LabelFrame
        frame_target: Frame
            target_title: Label
            scroll_target_y: Scrollbar
            scroll_target_x: Scrollbar
            (*)bindingslist: ListBox - on_bindingslist_select
            (*)button_new_keys: Button - get_new_keys & ..._name
r�z Custom Key Bindings r�z	 Key Set zAction - Key(s)rm��orient)r�r�r�r�r��xscrollcommandzGet New Keys for Selectionr�)rnr�r�r)rjr�r�zUse a Built-in Key Setr�zUse a Custom Key SetNr�zDelete Custom Key Setr�zSave as New Custom Key Setr�rhr�r�r�r�)r�r��
columnspanrl�r�r�rl)r�r�rlr�r�T)rrrtrsr��rrrtrs)rrrtrsr�)8r\r�rr�r�r�r�r�var_changed_keyset_source�
keyset_source�var_changed_keybinding�
keybindingr"rr!r&r*rrr
�bindingslistr�on_bindingslist_selectr�xviewrr#�get_new_keys�button_new_keysr�r)�
set_keys_type�builtin_keyset_on�custom_keyset_onr3r�r��delete_custom_keys�button_delete_custom_keys�save_as_new_key_set�button_save_custom_keys�keys_messager�rr	rrrr	r
rwrrrrr)	rar��frame_key_sets�frame_target�target_title�scroll_target_y�scroll_target_x�i�framess	         rdr5�KeysPage.create_page_keys`s���d$�K�K��$���!>�!>�@���"�;�;��$���!=�!=�?���$�[�[��4� �$�"@�"@�B���!�+�+��$���!<�!<�>���
"��!�F�,�.��$��!�F��F���\�*���\�0A�B��#�L�1��#�L��D��#���u�F��������2�#�:�:�	<�%)�%6�%6�%<�%<��	�"�%)�%6�%6�%<�%<��	�"�.=�.A�.A����*�+�.=�.A�.A����*�+�%��#?��)�)�� =���
!��8�%�#�a����q�A�#�	�%�!,��q�	�D�$6�$6�a��*�*�1I�"K���!,��q�	�D�$6�$6�a��*�*�1G�!I���)��q�	�4�,�,�d�D�B���'��q�	�4�+�+�T�4�A���)/��q�	� 7��/�/�*1��&�(.��q�	� <��0�0�(2��$�"�&��)��;���	���v�A�A�d���N�����a�a�d��C����!�!�v�A�A�A�!�F����t�!�!�D�t��L��$�$�Q�q�$�1��!�!�!�A�!�.����a��a���B������1�Q�t��<�����1�R��8�����1�R��8����#�#��!�A�b�D�#�A����"�"�q��1�R�4�"�@������!�A�d��;�������1�T��:������1�Q�t�!�!��L��&�&�+�+��A�d�QR�+�S��$�$�)�)�t�!�D�q�)�Q��q�	���C�d�4��8��q�	���C�a��1��=��W%s�S*c
��URR[R"SSSSSS95 [R"5nURR5(a�[R"SS5nUR5 URRX!5 [R"SS5nUR5 U(d7URRS	5 URRS
5 O�URRX"S5 O�[R"SS5nUR5 URRX!5 [R"SS5nUR5 URRU[R"55 UR5 [R"5nUR!U5 g)
z?Load current configuration settings for the keybinding options.r�Keysr�r�r�r��keysr�r��- no custom keys -rN)r@rr0r��CurrentKeysr�r�r�r�r3rJr�r�r��default_keysrH�load_keys_list)rar�r��keyset_names    rdr6�KeysPage.load_key_cfgsv��	
�����x�1�1���	��� C�	D�"�-�-�/�����!�!�#�#� �/�/�	�6�B�I��N�N�����$�$�Y�?� �/�/���?�I��N�N����%�%�+�+�M�:�� � �$�$�%9�:����'�'�	�Q�<�@� �/�/���?�I��N�N���O�O�#�#�I�>� �/�/�	�6�B�I��N�N�����$�$�Y��0E�0E�0G�H������*�*�,�����K�(rfc��SnURR5nX2;a_[R"SSS5U;a[RSSSUS5 [RSSSU5 SURS'O?[RSSSU5 [RSSSS	5 S	URS'URU5 g
)z%Process selection of builtin key set.)zIDLE Classic WindowszIDLE Classic UnixzIDLE Classic MaczIDLE Classic OSXrrYrErr�zNew key set, see Helprnr�N)r�r�r0r�r�r=rOr^)rar?�old_keysr@s    rdr��!KeysPage.var_changed_builtin_names���
���!�!�%�%�'��� ��!�!�&�&�&�9��I��"�"�6�6�6�8�A�;�G����v�v�w��>�(?�D���f�%����v�v�v�u�=����v�v�w��;�(*�D���f�%����E�"rfc��URR5nUS:wa*[RSSSU5 UR	U5 gg)z$Process selection of custom key set.r[rrYrEN)r�r�r�r=r^r>s   rdr�� KeysPage.var_changed_custom_name3sF��� � �$�$�&���(�(����v�v�v�u�=�����&�)rfc��URR5n[RSSSU5 U(aUR	5 gUR5 g)z:Process toggle between builtin key set and custom key set.rrYr�N)r@r�r�r=r�r�r>s   rdr?�"KeysPage.var_changed_keyset_source:sE���"�"�&�&�(�����6�6�9�e�<���)�)�+��(�(�*rfc��URR5nURR5nURR[5R5Sn[R"U5(a[RSX4U5 g[R"U5nUS-n[RSXdU5 g)zStore change to a keybinding.rrZ�_cfgBindings�
extensionsN)rBr�r�rCr�splitr0�
IsCoreBindingr�r=�GetExtnNameForEvent)rar?r@�key_setrF�ext_name�ext_keybind_sections       rdrA�KeysPage.var_changed_keybindingCs������#�#�%���"�"�&�&�(���!�!�%�%�f�-�3�3�5�a�8���!�!�%�(�(����v�w�u�=��3�3�E�:�H�"*�^�";�����|�-@��Orfc�^�URR5(a:SURS'SURS'URRS5 gSURS'URRS5 SURS'URRS5 g)z@Set available screen options based on builtin or custom key set.rXr�r�r�r�N)r@r�r�r�rLr�rJr�s rdrH�KeysPage.set_keys_typeOs������!�!�#�#�(0�D���W�%�'1�D�O�O�G�$��*�*�0�0��?�(2�D���W�%��!�!�'�'��7�'/�D�O�O�G�$��*�*�0�0��@rfc���URR[5nURRU5nUR	5SnUR
R5(aURR5nOURR5n[R"5nU[S;a)[SUnUHnXgR	5XW'M [UR55n[USUU5Rn	U	(GaUR
R5(abSn
URU
5nU(d7URR!U5 URR#U5 gUR%U5 URR'U5 URR)XS-U	-5 URR!U5 URR#U5 UR*R-U	5 gURR!U5 URR#U5 g)a.Handle event to change key binding for selected line.

A selection of a key/binding in the list of current
bindings pops up a dialog to enter a new binding.  If
the current key set is builtin and a binding has
changed, then a name for a custom key set needs to be
entered for the change to be applied.
rrZzGet New KeyszcYour changes will be saved as a new Custom Key Set. Enter a name for your new Custom Key Set below.N� - )rCr-rr�rkr@r�r�r0�GetCurrentKeySetr�rz�valuesr2r�get_new_keys_namer/r0�create_new_key_set�deleterrBr)ra�
list_index�binding�	bind_name�current_key_set_name�current_bindings�key_set_changesrF�current_key_sequences�new_keysr��
new_keysets            rdrF�KeysPage.get_new_keys[s����&�&�,�,�V�4�
��#�#�'�'�
�3���M�M�O�A�&�	����!�!�#�#�#'�#4�#4�#8�#8�#:� �#'�#3�#3�#7�#7�#9� �#�4�4�6���7�6�?�2�%�f�o�.B�C�O�(��*9�*@�*F�*F�*H� �'�)� $�%5�%<�%<�%>� ?�� ��~�y�%�'�'-�v�	���!�!�%�%�'�'�N��!�3�3�G�<�
�!��%�%�0�0��<��%�%�3�3�J�?���+�+�J�7����$�$�Z�0����$�$�Z�5���1I�J����(�(��4����+�+�J�7��O�O����)����(�(��4����+�+�J�7rfc��[R"SS5[R"SS5-n[USX5RnU$)z)Return new key set name from query popup.r�rZr�zNew Custom Key Setr)rar�rr�s    rdrx�KeysPage.get_new_keys_name�sJ���-�-�f�f�=��'�'�	�6�:�;�
� ��*�G�A�AG��	��rfc�X�URS5nU(aURU5 gg)z@Prompt for name of new key set and save changes using that name.zNew Key Set Name:N)rxry)ra�
new_keys_names  rdrM�KeysPage.save_as_new_key_set�s)���.�.�/B�C�
���#�#�M�2�rfc�:�URRS5 g)z6Activate button to assign new keys to selected action.r�N)rGr��rarFs  rdrD�KeysPage.on_bindingslist_select�s�����"�"�>�2rfc�r�URR5(aURR5nOURR5n[R
"U5n0nUHnUSSnSR
X55nXtU'M! U[S;a[SUnUH	nX�XE'M URX5 [R"SS5n	U	R5 URRX�5 URRS5 UR5 g)z�Create a new custom key set with the given name.

Copy the bindings/keys from the previously active keyset
to the new keyset and activate the new custom keyset.
r����rxrZr�rN)r@r�r�r�r0�GetCoreKeys�joinr��save_new_key_setr�r�r�r3rrH)
ra�new_key_set_name�prev_key_set_name�	prev_keysr�rF�
event_namer|r��custom_key_lists
          rdry�KeysPage.create_new_key_set�s�����!�!�#�#� $� 1� 1� 5� 5� 7�� $� 0� 0� 4� 4� 6���(�(�):�;�	����E��q���J��h�h�y�/�0�G�#*�Z� ��
����/�%�f�o�.?�@�O�(��"1�"8���)�	
���.�9�"�1�1�&�&�A������������B������q�!����rfc���SnURR5(a!SnURR[5n[R
"U5n[
U5nUR5 URRS[5 UHmnSRXF5nUSSnU[S;aU[SU;a[SUUnURR[US-U-5 Mo U(aRURRW5 URRU5 URRU5 g	g	)
z�Reload the list of action/key binding pairs for the active key set.

An action/key binding can be selected to change the key binding.
FTrrxr�r�rZruN)rC�curselectionr-rr0�	GetKeySetrzr�rzrr�r�rr.r/r0)rar_�reselectr{�keyset�
bind_namesr}�keys        rdr^�KeysPage.load_keys_list�s-��
�����)�)�+�+��H��*�*�0�0��8�J��#�#�K�0���&�\�
�������� � ��C�(�#�I��(�(�6�,�-�C�!�!�B��I��g�f�o�-������ <�<�!�&�/�+�6�y�A�C����$�$�S�)�E�/�#�*=�>�$�����!�!�*�-����(�(��4����+�+�J�7�rfc��[RSRU5 UH*nXn[RSRXU5 M, g)a!Save a newly created core key set.

Add keyset to idleConf.userCfg['keys'], not to disk.
If the keyset doesn't exist, it is created.  The
binding/keys are taken from the keyset argument.

keyset_name - string, the name of the new key set
keyset - dictionary containing the new keybindings
rZNr )r_r�rFr@s    rdr��KeysPage.save_new_key_set�sI��	���� �+�+�K�8��E��M�E����V�$�.�.�{�5�I�rfc�.�[R"U0UD6$r�r&r(s   rdr'�KeysPage.askyesno�r+rfc��URR5nSnURSX!-US9(dgURR	5 [
R
SU5 [R"SS5nUR5 U(d8URRS5 URRUS5 OURRX3S	5 URR[R S
R#SS55 UR$R[R S
R#SS
5=(d [R&"55 [
R)5 UR*R-5 URR/5 UR15 g)z�Handle event to delete a custom key set.

Applying the delete deactivates the current configuration and
reverts to the default.  The custom key set is permanently
deleted from the config file.
z0Are you sure you wish to delete the key set %r ?zDelete Key Setr-NrZr�r�r[rrrYr�rE)r�r�r'rQr�r�r.r0r�r�rJr�r�r3r@rr/r0r�r]r�rzr�r�rH)rar_r1r�s    rdrK�KeysPage.delete_custom_keys�s`���&�&�*�*�,��C���}�}� �6�#7���F�����)�)�+����v�{�3��+�+�F�F�;�	�������!�!�'�'�
�6��O�O�#�#�I�/C�D��O�O�#�#�I��|�<������x�2�2�6�:� #��F�I� 6�	8������h�1�1�&�9�=�=�f�f�M�9�!)�!6�!6�!8�	:�	�������0�0�2����'�'�)����rf)rCrIr�r�rLrGrNrQrJr�r�rzrBrOr@)r�r�r�r�rLr5r6r�r�r?rArHrFrxrMrDryr^�staticmethodr�r'rKr�r�r�s@rdr~r~Wss����^>�@)�>#�('�+�
P�
A�*8�X�3�3��<8�6�
J��
J�4� � rfr~c�:^�\rSrSrU4SjrSrSrSrSrU=r	$)r�i	c�>�[TU]U5 UR5 UR5 UR	5 gr�)r�rL�init_validators�create_page_windows�load_windows_cfg�rar�r�s  �rdrL�WinPage.__init__s4���
���� ������ � �"����rfc�n^�[R"S5mU4SjnURU5S4Ulg)N�[0-9]*c�*>�TRU5SL$�z+Return 's is blank or contains only digits'N��	fullmatch�r8�digits_or_empty_res �rd�is_digits_or_empty�3WinPage.init_validators.<locals>.is_digits_or_empty����%�/�/��2�$�>�>rf�%P��re�compile�register�digits_only�rar�r�s  @rdr��WinPage.init_validators�0����Z�Z�	�2��	?�!�M�M�*<�=�t�E��rfc��[R[U5S5Ul[R[	U5S5Ul[R[	U5S5Ul[R[	U5S5Ul[R[U5S5Ul	[R[	U5S5Ul
[R[	U5S5Ul[R[	U5S5Ul[R[U5S	5Ul
[R[	U5S
5Ul[US[ SS
9n[#USS9n[%USS9n['X RSSS9Ul['X RSSS9Ul[#USS9n[%USS9n[%USS9n[-X@R
SUR.SS9Ul[%USS9n[-X@RSUR.SS9Ul[#USS9n[%USS9n	[5X�RSSSUR.SS9Ul[%US"S9n
[AUS#URS$9Ul![#USS9n[%US%S9n[-X�RS&UR.SS9Ul"[#USS9n
[%U
S'S9n[GX�RS(S)S*S(5Ul$[#USS9n[%US+S9n[-X�RS&UR.SS9Ul%[AUS,URS$9Ul&[#USS9n[%US-S9n[-UURS.UR.SS9Ul'URQ[RS/S/[T[VS09 URQ[RS/S[XS19 URQ[Z[\S/S/S29 UR*RQ[^[\S/S/S29 UR(RQ[^[\S/S/S29 URQ[RS/S[XS19 URQ[Z[\S/S/S29 UR2RQ[^[`SS/S29 URQ[^[`S/S39 UR0RQ[^[`SS/S29 URQ[^[`S/S39 URQ[RS/S[XS19 U	RQ[Z[\S/S49 UR6RQ[Z[\SS49 URBRQ[^[`S5S/S29 URQ[RS/S[XS19 URQ[Z[\S/S/S29 URDRQ[RSS/S69 U
RQ[RS/S[XS19 URQ[Z[\S/S/S29 URHRQ[RSS/S69 URQ[RS/S[XS19 URQ[Z[\S/S49 URLRQ[^[`S5S/S29 URJRQ[R[\S5S/S29 URQ[RS/S[XS19 URQ[Z[\S/S/S29 URNRQ[RSS/S69 g7![8a2 [;X�RS[=[?SS 55SS!9UlGN�f=f)8aReturn frame of widgets for Windows tab.

Enable users to provisionally change general window options.
Function load_windows_cfg initializes tk variable idleConf.
Radiobuttons startup_shell_on and startup_editor_on set var
startup_edit. Entry boxes win_width_int and win_height_int set var
win_width and win_height.  Setting var_name invokes the default
callback that adds option to changes.

Widgets for WinPage(Frame):  > vars, bound to self
    frame_window: LabelFrame
        frame_run: Frame
            startup_title: Label
            startup_editor_on: Radiobutton > startup_edit
            startup_shell_on: Radiobutton > startup_edit
        frame_win_size: Frame
            win_size_title: Label
            win_width_title: Label
            win_width_int: Entry > win_width
            win_height_title: Label
            win_height_int: Entry > win_height
        frame_cursor: Frame
            indent_title: Label
            indent_chooser: Spinbox > indent_spaces
            blink_on: Checkbutton > cursor_blink
        frame_autocomplete: Frame
            auto_wait_title: Label
            auto_wait_int: Entry > autocomplete_wait
        frame_paren1: Frame
            paren_style_title: Label
            paren_style_type: OptionMenu > paren_style
        frame_paren2: Frame
            paren_time_title: Label
            paren_flash_time: Entry > flash_delay
            bell_on: Checkbutton > paren_bell
        frame_format: Frame
            format_width_title: Label
            format_width_int: Entry > format_width
)r�General�editor-on-startup)rrrJ)rrrI)r�Indent�
num-spaces)rr�cursor-blink)rjr8�	popupwait)rjr:rR)rjr:�flash-delay)rjr:�bell)rjr;�	max-widthr�z Window Preferencesr�rr�z
At Startuprmr�zOpen Edit Window�r�r@rnzOpen Shell Windowz$Initial Window Size  (in characters)�Widthr�r���textvariablerJ�validatecommand�validate�HeightzIndent spaces (4 is standard)�
)r��from_�torJr�r��readonly�)r�r�rwrJzCursor BlinkzCursor blink)rnr�z%Completions Popup Wait (milliseconds)r�zParen Match Style�
expression�opener�parensz;Time Match Displayed (milliseconds)
(0 is until next input)zBell on MismatchzFormat Paragraph Max Widthr�rhr�r�r��rrr�r�r�r�r�N)1r\r�r�startup_editr�	win_width�
win_height�
indent_spacesr�cursor_blink�autocomplete_wait�paren_style�flash_delay�
paren_bell�format_widthr"rr!r&r)�startup_editor_on�startup_shell_onr%r��
win_width_int�win_height_intr,�indent_chooserr r-rzr�r$�cursor_blink_bool�
auto_wait_intr'�paren_style_type�paren_flash_time�bell_on�format_width_intr�rr	rrrrr
r)ra�frame_window�	frame_run�
startup_title�frame_win_size�win_size_title�win_width_title�win_height_title�frame_cursor�indent_title�cursor_blink_title�frame_autocomplete�auto_wait_title�frame_paren1�paren_style_title�frame_paren2�paren_time_title�frame_format�format_width_titles                   rdr��WinPage.create_page_windowss���R$�K�K��t��F�H��� ����$��!B�D���!�+�+��$��!C�E���$�[�[��$��!A�C���#�K�K��4� �"J�L���!(����$��!L�"N���"�;�;��$��!F�H���"�;�;��$��!L�N���!�+�+��4� �"F�H���#�K�K��$��!O�Q���"�$�A�f�'<�>���,�A�6�	��i�l�;�
�!,��$5�$5�Q�'�")���!,��$5�$5�Q�(�!*����|��;����%K�M����W�=��"��^�^�1� $� 0� 0�5�
���!��h�?��#��_�_�A� $� 0� 0�5�
���
�\�q�9���\�"A�C��	I�")� �/A�/A���!�$(�$4�$4�u�#F�D��#�<�n�E��!,�\��6:�6G�6G�"I���#�<�Q�@��� 2�%L�N��"�"�1G�1G���)9�)9�E�K����\�q�9��!�,�5H�I�� *��.�.����,�!0����\�q�9�� ��$<�=��!&��+;�+;�1� $� 0� 0�5�!B���#��#5����Q����\�q�9��"�<�(D�F�� %��4�+<�+<�A� $� 0� 0�5�!���	���s���4�d��K����C�a�a�a��8�����Q�Q�Q��?����"�"��a�a�a�"�H����#�#��q�q�q�#�I�����1�1�1��=�����a�a�a��@���� � �e�A�B�Q� �G����5����;������U�1�2�A��F����%����:����s�����;����t�A�A��6���� � �d�1�2� �>����#�#��q�r��#�J����S�q�q�q��A����$�q�q�q��A������S�r���:����s�����;����D�����C����"�"��"�1�"�=����s�����;����4����:������u�Q�R�a��@����"�"��A�B�Q�"�G����s�����;����T�!�!�!��D����"�"��"�1�"�=��O�	I�"*� �/A�/A�$�T�%��"�+�->�a�#I�D��	I�s�'[�8[?�>[?c	���URR[R"SSSSS95 URR[R"SSSSS95 UR
R[R"SSS	SS95 URR[R"SS
SSS95 URR[R"SSSSS95 URR[R"S
SSSS95 URR[R"S
SS55 URR[R"S
SSSS95 URR[R"S
SS55 URR[R"S
SSSS95 g)Nrr�r�r��rDrrJ�intrIr�r�r�rjr8r�r:rRr�r�r;r�)
r�rr0r�r�r�r�r�r�r�r�r�r�r�s rdr��WinPage.load_windows_cfg�s��������h�0�0��	�#6�V�E�	F������8�-�-����e�=�	>������H�.�.����u�>�	?������x�1�1���,�U� <�	=������h�0�0����V�E�	F����"�"�8�#5�#5��n�k��$G�	H������X�/�/��l�G�5�	6������X�/�/��l�M��G�	H������H�.�.��l�F�4�	5������h�0�0��/��5�J�	Krf)r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�)
r�r�r�r�rLr�r�r�r�r�r�s@rdr�r�	s!��� �F�h>�TK�Krfr�c�:^�\rSrSrU4SjrSrSrSrSrU=r	$)r�i�c�>�[TU]U5 UR5 UR5 UR	5 gr�)r�rLr��create_page_shed�load_shelled_cfgr�s  �rdrL�ShedPage.__init__�s4���
���� ������������rfc�n^�[R"S5mU4SjnURU5S4Ulg)Nr�c�*>�TRU5SL$r�r�r�s �rdr��4ShedPage.init_validators.<locals>.is_digits_or_empty�r�rfr�r�r�s  @rdr��ShedPage.init_validators�r�rfc��[R[U5S5Ul[R[	U5S5Ul[R[
U5S5Ul[R[U5S5Ul[US[SS9n[US[SS9n[US	S
9n[USS9n[US
URURSS9Ul[US	S
9n[USS9n[!XPR
S	SS9Ul[!XPR
SSS9Ul[US	S
9n[USS9n['UURSS9Ul[US	S
9n	[U	SS9n
[X�RSURSS9UlUR-[.SS[0S9 [U5R-5 UR-[.SS[0S9 UR-[.SS	[2S9 UR-[4[6SSS9 URR-[.SSS9 UR-[.SS	[2S9 UR-[4[6SSS9 UR$R-[8[6SSS9 UR"R-[8[6SSS9 UR-[.SS	[2S9 UR-[4[6SSS9 UR(R-[4SSS9 U	R-[.SS	[2S9 U
R-[4[6SSS9 UR*R-[.SSS9 g)a�Return frame of widgets for Shell/Ed tab.

Enable users to provisionally change shell and editor options.
Function load_shed_cfg initializes tk variables using idleConf.
Entry box auto_squeeze_min_lines_int sets
auto_squeeze_min_lines_int.  Setting var_name invokes the
default callback that adds option to changes.

Widgets for ShedPage(Frame):  (*) widgets bound to self
    frame_shell: LabelFrame
        frame_auto_squeeze_min_lines: Frame
            auto_squeeze_min_lines_title: Label
            (*)auto_squeeze_min_lines_int: Entry -
               auto_squeeze_min_lines
    frame_editor: LabelFrame
        frame_save: Frame
            run_save_title: Label
            (*)save_ask_on: Radiobutton - autosave
            (*)save_auto_on: Radiobutton - autosave
        frame_format: Frame
            format_width_title: Label
            (*)format_width_int: Entry - format_width
        frame_line_numbers_default: Frame
            line_numbers_default_title: Label
            (*)line_numbers_default_bool: Checkbutton - line_numbers_default
        frame_context: Frame
            context_title: Label
            (*)context_int: Entry - context_lines
)r�PyShell�auto-squeeze-min-lines)rr��autosave)rr�line-numbers-default)rjr9�maxlinesr�z Shell Preferencesr�z Editor Preferencesrr�zAuto-Squeeze Min. Lines:rmr�r�)rJr�r�r�zAt Start of Run (F5)  zPrompt to Saver�r�z	No Promptz Show line numbers in new windows)r�rJzMax Context Lines :r�r�rhr�r�r�N)r\r�r�auto_squeeze_min_linesrrr�line_numbers_default�
context_linesr"rr!r&r%r��auto_squeeze_min_lines_intr)�save_ask_on�save_auto_onr$�line_numbers_default_bool�context_intr�rrrrrr
)ra�frame_shell�frame_editor�frame_auto_squeeze_min_lines�auto_squeeze_min_lines_title�
frame_save�run_save_title�frame_line_numbers_default�line_numbers_default_title�
frame_context�
context_titles           rdr
�ShedPage.create_page_shed�s0��>'.�k�k��$��!N�'P��#� ����t��=�?��
�$+�K�K��4� �@�%B��!�%�[�[��$��!J�L���!��1�V�&:�<��!�$�A�f�'<�>��(-�[�a�'H�$�',�-I�2L�(N�$�*/�,�A�!�8�8� $� 0� 0�5�+
��'��<�Q�7�
��z�0H�I��&��]�]�!�%�'���(��]�]�!� �"���&+�<�Q�%G�"�%*�&�-O�&Q�"�)4�*��2�2��*��&�
�l��:�
��m�2G�H�
� ��,>�,>�a� $� 0� 0�5�
���	���c�����=�
�d��������s�����>�$�)�)�s����)�K�$�)�)�t�A�A�A�)�N��'�'�,�,�#�A�A�,�F����S�q�q�q��9�����a�a�a��@������E�!�!�!��D������5�����C�"�'�'�S�q�q�q�'�I�"�'�'�T�!�!�!�'�L��&�&�+�+��A�A�+�F�����!�!�!��<�����Q�Q�Q��?������3�Q�Q��7rfc
��URR[R"SSSSS95 URR[R"SSSSS	S
95 UR
R[R"SSSS	S95 URR[R"S
SSSS95 g)Nrrrrrr�rrr�)r�rDrrrjr9r)rrr0r�rrrr�s rdr�ShedPage.load_shelled_cfgSs����#�#�'�'��(:�(:��	�#;�%�)I�	J�	
�
�
���(�,�,��	�:�q�v�G�	H��!�!�%�%�h�&8�&8���(>�V�'M�	N������x�1�1��m�Z�e� E�	Frf)
rrrrrr�rrrr)
r�r�r�r�rLr�r
rr�r�r�s@rdr�r��s!��� �F�f8�P
F�
Frfr�c�L^�\rSrSrU4SjrSrSrSrSrSr	Sr
S	rU=r$)
ryi`c�>�[TU]U5 [RSUl[R
SUlUR[5UlUR5 UR5 g)Nrj)r�rLr0r/�ext_defaultCfgr!�ext_userCfgr��is_int�load_extensions�create_page_extensionsr�s  �rdrL�ExtPage.__init__as^���
���� �&�1�1�,�?���#�+�+�L�9����m�m�F�+��������#�#�%rfc�D�[U5Ul[US[SS9n[	US[SS9UlUR
SSS9 URSSS9 [XRSS	9Ul	URRS
UR5 [XRRS9nURURl[USSS
9UlURR#SSSS9 UR#SSSS9 UR R#SSSSS/S9 UR%SS9 0UlSUlXlURUlSn[/UR05HnUR3U5 US-U-S-nM! URRU5 URR5S5 URS5 UR#SSSS9 [7U5R#SSS9 UR
R#SSSS9 g)amConfigure IDLE feature extensions and help menu extensions.

List the feature extensions and a configuration box for the
selected extension.  Help menu extensions are in a HelpFrame.

This code reads the current configuration using idleConf,
supplies a GUI interface to change the configuration values,
and saves the changes using idleConf.

Some changes may require restarting IDLE.  This depends on each
extension's implementation.

All values are treated as text, and it is up to the user to
supply reasonable values. The only exception to this are the
'enable*' options, which are boolean, and can be toggled with a
True/False button.

Methods:
    extension_selected: Handle selection from list.
    create_extension_frame: Hold widgets for one extension.
    set_extension_value: Set in userCfg['extensions'].
    save_all_changed_extensions: Call extension page Save().
r�z Feature Extensions r�z Help Menu Extensions rr�r��browse)�listvariable�
selectmodez<<ListboxSelect>>r��)rJrI�nws�r�r�rl�nsr�r�)r�r�rlr�riNr��{z} r=)r�r��sew)r�extension_namesr"r�	HelpFrame�
frame_helpr
r	r�extension_listr�extension_selectedr*rrr��
details_framerwr��config_frame�current_extension�
outerframe�tabbed_page_setr*rj�create_extension_frame�
selection_setr&)ra�	frame_ext�scroll�	ext_namesros     rdr2�ExtPage.create_page_extensionsis��0 )������t��6�$:�<�	�#�D�a��$<�>���	���q���+��!�!�!�A�!�.�%�i�>R�>R�19�;������ � �!4�d�6M�6M�N��9�.A�.A�.G�.G�H��+1�:�:����*�'�	��S�I������ � ��q�� �?����1�!�D��1������q�a��b�!�W��M����B��'����!%�����#�2�2����	��t���/�H��'�'��1�!�C��(�2�T�9�I�0�	
��� � ��+����)�)�!�,�����%�	���1�Q�v��6�
�d����Q�q��)�������1�U��;rfc
�$�0Ul[R"SS9Hn/URU'M URGHn[URRU55nUVs/sHnUR
S5(dMUPM nnUHnURU5 M XB-nUH�nURRXSS9nSSS.UnSnURRXUSUS
9n[U5n	U	R[U55 URUR!UUUUU	S.5 M� GM g	s snf![a& [U5nSnN�![a UnS	nN�f=ff=f![a UnN�f=f)zAFill self.extensions with data from the default and user configs.F)�active_only�enableT)�raw)�True�Falser�rN)rDrQr�)rErDr�r@�var)rjr0�
GetExtensionsr*r.�
GetOptionList�
startswith�remover0�KeyErrorrr2r/rrr��append)
raro�opt_list�opt_name�enables�def_str�def_obj�opt_typer@rTs
          rdr1�ExtPage.load_extensions�s������ �.�.�5�A�H�(*�D�O�O�H�%�B����H��d�1�1�?�?��I�J�H�19�9��H�"�-�-�h�7� ��G�9�#������)�$��)�H�$���-�-�1�1� ��2�6��	(�&*�E�:�7�C�G�%�H�$� �,�,�0�0�$�X�4�$+�1�-�E�
 ��o������E�
�#�����)�0�0�(�:B�=D�;@�9<�	23�4�-%�(��9�� �(�(�"%�g�,��#(���%�(�")��#'��(��	(��"�$�#�E�$�sH�*E�E�
E
�F�
E=�
E'�'E9	�5E=�8E9	�9E=�F�Fc���URR5nU(aURRU5nUbX R:waXUR(aGURRSS9 URURR5 SUlU(a>URRUS9 URURSSSS9 X lgg)z/Handle selection of an extension from the list.Nr�rmrr�r:)	rAr�r�rErCrrD�grid_forgetrw)rarF�newsels   rdrB�ExtPage.extension_selected�s����$�$�1�1�3����(�(�,�,�V�4�F��>�V�'=�'=�=��%�%��"�"�)�)�r�)�2��!�!�$�"8�"8�9�E�E�G�)-��&�����%�%�6�%�2����f�%�*�*�!��6�*�J�%+�"�rfc	���[URSSS9nX RU'URn[	UR
U5H�upE[
X5SS9nURUS[S9 USnUSS	:Xa"[X7S
SSS
9RUS[SS9 MVUSS:Xa.[X7SURS4SS9RUS[SS9 M�[X7SS9RUS[SS9 M� g)z=Create a frame holding the widgets to configure one extensionr8rHrErmrr=rTrDr�rRrSr�)r�r�r�rJr��)r�r�rlr�rr�r�r�)r�r�r�rJr�)r�rJN)�VerticalScrolledFramerCrD�interior�	enumeraterjr&rwrr$rr%r0r)raro�f�
entry_arear��opt�labelrTs        rdrH�ExtPage.create_extension_frame�s���!�$�"4�"4�S��L��&'���(�#��Z�Z�
�!�$�/�/�(�";�<�H�C��*�v�;�7�E��J�J�3�q��J�4��e�*�C��6�{�f�$��J�$*�W�A��"�d�s�1�Q�Q�d�G��V���%��j�U�'+�{�{�D�&9������Q�t�!��D��j�"�����Q�t�!��D�#=�$	rfc�
�USnUSnUSR5R5=(d UnUSRU5 XT:XaURR	X5$URRXU5$)z�Return True if the configuration was added or changed.

If the value is the same as the default, then remove it
from user config file.
rEr�rT)r�r�rr/�RemoveOptionr#)ra�sectionrmrEr�r@s      rd�set_extension_value�ExtPage.set_extension_value�s|���6�{���i�.���E�
��� �&�&�(�3�G���E�
���u��
���#�#�0�0��?�?����)�)�'��?�?rfc���SnURH5nURUnUHnURX$5(dMSnM M7 U(aURR5 gg)z{Save configuration changes to the user config file.

Attributes accessed:
    extensions

Methods:
    set_extension_value
FTN)rjrsr/�Save)ra�has_changesro�optionsrms     rdr��#ExtPage.save_all_changed_extensionssa�������H��o�o�h�/�G����+�+�H�:�:�"&�K��(�
����!�!�#�rf)rDrErCr.r/rAr>rjr@r0rFrG)
r�r�r�r�rLr2r1rBrHrsr�r�r�r�s@rdryry`s.���&�=<�~,4�\
,��4@�"$�$rfryc�X^�\rSrSrU4SjrSrSrSrSrSr	Sr
S	rS
rSr
U=r$)r?i#c�h>�[TU]"U40UD6 UR5 UR5 gr�)r�rL�create_frame_help�
load_helplist)rar��cfgr�s   �rdrL�HelpFrame.__init__%s-���
����'�3�'���� ����rfc��[U5n[USS[S9Ul[	U5nURR
US'URURS'URRSUR5 [U5n[USSS	URS
9Ul[USS	URS9Ul
[US
SS	URS
9UlUR!["SS[$[&S9 URR!["[([$[&S9 UR![*[,[.S9 UR![*SS[.S9 URR![0[,SS9 URR![0[,S9 URR![0[,SS9 g)a�Create LabelFrame for additional help menu sources.

load_helplist loads list user_helplist with
name, position pairs and copies names to listbox helplist.
Clicking a name invokes help_source selected. Clicking
button_helplist_name invokes helplist_item_name, which also
changes user_helplist.  These functions all call
set_add_delete_state. All but load call update_help_changes to
rewrite changes['main']['HelpFiles'].

Widgets for HelpFrame(LabelFrame):  (*) widgets bound to self
    frame_helplist: Frame
        (*)helplist: ListBox
        scroll_helplist: Scrollbar
    frame_buttons: Frame
        (*)button_helplist_edit
        (*)button_helplist_add
        (*)button_helplist_remove
rhTr�r�r�r��Editr�r�)rnr�rJr��Add)rnrJr��Remover�)rrr�rsrt)rrr�rtr�r�r�N)r!rr
�helplistr*rrr�help_source_selectedr#�helplist_item_edit�button_helplist_edit�helplist_item_add�button_helplist_add�helplist_item_remove�button_helplist_remover�rr	rrr
rrr)ra�frame_helplist�scroll_helplist�
frame_buttonss    rdr|�HelpFrame.create_frame_help*s���*�t�����q�D� %�'��
�$�N�3��%)�]�]�%8�%8��	�"�*9�*=�*=��
�
�&�'��
�
���.��0I�0I�J��d��
�$*��F�*���!8�!8�%:��!�$*��E���!7�!7�$9�� �'-��H�J���!:�!:�'<��#�
	����A�A�d���N��
�
����Q�t�$��G����%����:�����A�A�A��>��!�!�&�&�C���&�B�� � �%�%�3�q�%�9��#�#�(�(�c�!�!�(�Drfc�$�UR5 g)z+Handle event for selecting additional help.N)�set_add_delete_stater�s  rdr��HelpFrame.help_source_selected\r�rfc���URR5S:a7URRS5 URRS5 gURR5(a7URRS5 URRS5 gURRS5 URRS5 g)zAToggle the state for the help list buttons based on list entries.r�r�r�N)r��sizer�r�r�r�r�s rdr��HelpFrame.set_add_delete_state`s����=�=����!�#��%�%�+�+�M�:��'�'�-�-�m�<��}�}�)�)�+�+��)�)�/�/��?��+�+�1�1�.�A��)�)�/�/�
�>��+�+�1�1�-�@rfc���[US5RnU(aOURRU5 URR[US5 UR5 gg)zpHandle add button for the help list.

Query for name and location of new help sources and add
them to the list.
zNew Help SourcerN)r6r�
user_helplistrZr�rr�update_help_changes)ra�help_sources  rdr��HelpFrame.helplist_item_addmsW��!��'8�9�@�@������%�%�k�2��M�M� � ��k�!�n�5��$�$�&�rfc��URR[5nURUn[	USUSUSS9R
nU(anX2:wahX0RU'URR
U5 URRXS5 UR5 UR5 ggg)z�Handle edit button for the help list.

Query with existing help source information and update
config if the values are changed.
zEdit Help Sourcerr�)�menuitem�filepathN)
r�r-rr�r6rrzrr�r�)ra�
item_indexr��new_help_sources    rdr��HelpFrame.helplist_item_editys����]�]�(�(��0�
��(�(��4��$��(�$�Q��$�Q����&�		�
��=�-<���z�*��M�M� � ��,��M�M� � ��Q�-?�@��$�$�&��%�%�'� >�?rfc���URR[5nURU	URR	U5 UR5 UR
5 g)zPHandle remove button for the help list.

Delete the help list item from config.
N)r�r-rr�rzr�r�)rar�s  rdr��HelpFrame.helplist_item_remove�sP��
�]�]�(�(��0�
����z�*��
�
���Z�(�� � �"��!�!�#rfc���0[SS'[S[UR5S-5HFn[R	SS[U5SR
URUS-
SS55 MH g)z2Clear and rebuild the HelpFiles section in changesr�	HelpFilesr��;Nr�)r�r�r�r�r=r�r�)ra�nums  rdr��HelpFrame.update_help_changes�sl��')�����$���C�� 2� 2�3�a�7�8�C�����K��S���H�H�T�/�/��A��6�r��:�;�
=�9rfc��[R"5UlURR	SS5 URH&nURR[US5 M( UR5 g)Nrr�)r0�GetAllExtraHelpSourcesListr�r�rzrrr�)ra�	help_items  rdr}�HelpFrame.load_helplist�s[��%�@�@�B����
�
���Q��&��+�+�I��M�M� � ��i��l�3�,��!�!�#rf)r�r�r�r�r�)r�r�r�r�rLr|r�r�r�r�r�r�r}r�r�r�s@rdr?r?#s8����
0E�d$�A�
'�(�(	$�=�$�$rfr?c�F�\rSrSrSrSrSrSr\S5r	Sr
SrS	rg
)�VarTracei�z"Maintain Tk variables trace state.c� �/Ul/Ulg)z�Store Tk variables and callbacks.

untraced: List of tuples (var, callback)
    that do not have the callback attached
    to the Tk var.
traced: List of tuples (var, callback) where
    that callback has been attached to the var.
N)�untraced�tracedr�s rdrL�VarTrace.__init__�s����
���rfc�l�URR5 URR5 g)zClear lists (for tests).N)r�r�r�r�s rdr��VarTrace.clear�s$��	
�
�
���������rfc��[U[5(aURX5nURR	X45 U$)aAdd (var, callback) tuple to untraced list.

Args:
    var: Tk variable instance.
    callback: Either function name to be used as a callback
        or a tuple with IdleConf config-type, section, and
        option names used in the default callback.

Return:
    Tk variable instance.
)�
isinstance�tuple�
make_callbackr�rZ�rarT�callbacks   rdr��VarTrace.add�s:���h��&�&��)�)�#�8�H��
�
���c�_�-��
rfc�^^�UU4SjnU$)zCReturn default callback function to add values to changes instance.c�R>�[R"/TQTR5P76 g)z&Add config values to changes instance.N)r�r=r�)r?rrTs ��rd�default_callback�0VarTrace.make_callback.<locals>.default_callback�s������2��2����	�2rfro)rTrr�s`` rdr��VarTrace.make_callback�s���	3� �rfc���UR(a^URR5upURSU5 URR	X45 UR(aM]gg)z0Attach callback to all vars that are not traced.�writeN)r��pop�	trace_addr�rZr�s   rdr]�VarTrace.attach�sJ���m�m� �M�M�-�-�/�M�C��M�M�'�8�,��K�K�����/��m�m�mrfc�
�UR(arURR5upURSUR5SS5 URRX45 UR(aMqgg)z!Remove callback from traced vars.r�rr�N)r�r��trace_remove�
trace_infor�rZr�s   rd�detach�VarTrace.detach�s[���k�k� �K�K�O�O�-�M�C����W�c�n�n�&6�q�&9�!�&<�=��M�M� � �#��1��k�k�krf)r�r�N)
r�r�r�r�r�rLr�r�r�r�r]r�r�rorfrdr�r��s2��,�
���"� �� �0�2rfr�a7When you click either the Apply or Ok buttons, settings in this
dialog that are different from IDLE's default are saved in
a .idlerc directory in your home directory. Except as noted,
these changes apply to all versions of IDLE installed on this
machine. [Cancel] only cancels changes made since the last save.
u
Font sample: This shows what a selection of Basic Multilingual Plane
unicode characters look like for the current font selection.  If the
selected font does not define a character, Tk attempts to find another
font that does.  Substitute glyphs depend on what is available on a
particular system and will not necessarily have the same size as the
font selected.  Line contains 20 characters up to Devanagari, 14 for
Tamil, and 10 for East Asia.

Hebrew and Arabic letters should display right to left, starting with
alef, א and ا.  Arabic digits display left to right.  The
Devanagari and Tamil lines start with digits.  The East Asian lines
are Chinese digits, Chinese Hanzi, Korean Hangul, and Japanese
Hiragana and Katakana.

You can edit the font sample. Changes remain until IDLE is closed.
z�
Highlighting:
The IDLE Dark color theme is new in October 2015.  It can only
be used with older IDLE releases if it is saved as a custom
theme, with a different name.
z�
Keys:
The IDLE Modern Unix key set is new in June 2016.  It can only
be used with older IDLE releases if it is saved as a custom
key set, with a different name.
a_
General:

AutoComplete: Popupwait is milliseconds to wait after key char, without
cursor movement, before popping up completion box.  Key char is '.' after
identifier or a '/' (or '\' on Windows) within a string.

FormatParagraph: Max-width is max chars in lines after re-formatting.
Use with paragraphs in both strings and comment blocks.

ParenMatch: Style indicates what is highlighted when closer is entered:
'opener' - opener '({[' corresponding to closer; 'parens' - both chars;
'expression' (default) - also everything in between.  Flash-delay is how
long to highlight if cursor is not moved (0 means forever).

CodeContext: Maxlines is the maximum number of code context lines to
display when Code Context is turned on for an editor window.

Shell Preferences: Auto-Squeeze Min. Lines is the minimum number of lines
of output to automatically "squeeze".
a�
ZzDummy: This extension is provided as an example for how to create and
use an extension.  Enable indicates whether the extension is active or
not; likewise enable_editor and enable_shell indicate which windows it
will be active on.  For this extension, z-text is the text that will be
inserted at or removed from the beginning of the lines of selected text,
or the current line if no selection.
)z
Fonts/TabsrorYr�rpc�L�U(dg[U5 g![a gf=f)z(Return 's is blank or represents an int'TF)rr2)r8s rdr0r0-	s)������A��������s��
#�#c��\rSrSrSrSrSrg)rhi8	z�A pure Tkinter vertically scrollable frame.

* Use the 'interior' attribute to place widgets inside the scrollable frame
* Construct and pack/place/grid normally
* This frame only allows vertical scrolling
c�(^^^	�[R"X/UQ70UD6 [U[S9nUR	[
[[S9 [USSURSS9mTR	[[[S9 URTRS9 TRS5 TR!S5 [T5=UlmTR%SST[&S9m	UU4S	jnTR)S
U5 UUU	4SjnTR)S
U5 g)Nr9)rtrrrsr��)r�rlr�rJr>r�)�windowr�c�j>�TR5TR54nTRSU-S9 g)Nz	0 0 %s %s)�scrollregion)�winfo_reqwidth�winfo_reqheightr)rFr��canvasris  ��rd�_configure_interior�;VerticalScrolledFrame.__init__.<locals>._configure_interiorT	s2����+�+�-�x�/G�/G�/I�J�D��M�M�{�T�'9�M�:rfz<Configure>c�>�TR5TR5:waTRTTR5S9 gg)N)rJ)r��winfo_width�
itemconfigure)rFr�ri�interior_ids ���rd�_configure_canvas�9VerticalScrolledFrame.__init__.<locals>._configure_canvasZ	s?����&�&�(�F�,>�,>�,@�@��$�$�[��8J�8J�8L�$�M�Arf)r!rLr*rr�rr
r
rrrrr	rr�xview_moveto�yview_movetori�
create_windowrr)
rarMr�kw�
vscrollbarr�r�r�rir�s
       @@@rdrL�VerticalScrolledFrame.__init__?	s����
���t�1�d�1�b�1��t�H�5�
����Q�U�5��9���!��'1�~�~�S�B������D���6����&�,�,��/�	���A�����A��$)��=�0��
���*�*�1�a���*�L��	;�	�
�
�m�%8�9�	N�	���M�#4�5�rf)riN)r�r�r�r�r�rLr�rorfrdrhrh8	s���!rfrh�__main__)rz#idlelib.idle_test.test_configdialogr�F)�	verbosity�exit)�run)cr�r��tkinterrrrrrrr	r
rrr
rrrrrrrrrrrrrrrrrrr �tkinter.ttkr!r"r#r$r%r&r'r(r)r*r+r,r-r.�tkinter.fontr7r+r/�idlelib.configr0r1�idlelib.config_keyr2�idlelib.dynoptionr3�idlelibr4�
idlelib.queryr5r6�idlelib.textviewr7�idlelib.autocompleter8�idlelib.codecontextr9�idlelib.parenmatchr:�idlelib.formatr;�idlelib.squeezerr<r=r�r�r?r�r}r{r~r�r�ryr?r�r\r�r�r0rhr��unittestr�idlelib.idle_test.htestr�rorfrd�<module>r�s���
�
�J�J�J�J�J�J�J�J�
,�,�,�,�!���2�,�+��1�&�-�+�)�*�%�0�
�/���[�*�o����{�8�{�^E��<g1�u�g1�TQ
�u�Q
�ho�u�o�d
OK�e�OK�dBF�u�BF�J@$�e�@$�FC$�
�C$�L:2�:2�z�*�����"�
��*�g;�
�|�(�E�(�V�z����	.�!�%�H�+����rf

Youez - 2016 - github.com/yon3zu
LinuXploit