| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/idlelib/__pycache__/ |
Upload File : |
R
>lqj� c �^ � ] PH s ] PHs Q Q2 s\Q6X c ] QHGs \ Q]Q5 P! P! )� c � ` � \ sQ s]s n \O
\O * Q* sQ sQ s Q s
Q sQsU s
P! )�
AutoExpand�_c �n � UO U m U O O U m PU m P! )N)�text�bell�state)�self�editwins &&�'C:\Python315\\Lib\idlelib\autoexpand.py�__init__�AutoExpand.__init__ s# � ��L�L�� ��I�I�N�N�� ���
� c �� � U O O Q 2 oU O O QQ2 oU O % f U O 2 o] oL-U O v qEqgVb6w f Vs6w c U O 2 o] oU% f U O 2 Q! U O
2 oU O O Q[ U2 * Q 2 VE* o U]* [ U2 * oU] 6X c U O 2 U O O Q U 2 U O O Q 2 oU O O QQ2 oVEV#1U m Q! )�insert�insert linestartzinsert lineend�breakzinsert - %d chars)
r �index�getr �getwordsr �getprevword�delete�lenr )
r �event� curinsert�curline�wordsr r �line�word�newwords
&& r �expand_word_event�AutoExpand.expand_word_event s � ��I�I�O�O�H�-� ��)�)�-�-� 2�4D�E���z�z�z��M�M�O�E��E�)-���&�E�&��"�d�o��
�
�������I�I�K�����!��� � ���,�s�4�y�8�(�C��,�����c�%�j�(���A�:��I�I�K�� � ����7�+��I�I�O�O�H�-� ��)�)�-�-� 2�4D�E���9�5��
�r c � � U O 2 oU% f , ! U O O Q Q2 o[ O QU* Q* U2 o=U O O QQ2 o[ O QU* Q* U2 o=U% f U% f , ! , o- oUO 2 SF D1 oUO U2 % c J UO
U2 V�U$ J3 SF D1 oUO U2 % c J UO
U2 V�U$ J3 UO
U2 U! )z1.0zinsert wordstartz\bz\w+\bzinsert wordend�end)r r r �re�findall�reverse�append) r r �before�wbefore�after�wafterr �dict�ws & r r �AutoExpand.getwords6 s � ����!����I������u�&8�9���*�*�U�T�\�H�4�f�=���� � �
�
�.��6�����E�D�L�8�3�U�;����v��I����������A��x�x��{�{���L�L��O���G� � �A��x�x��{�{���L�L��O���G� �
���T���r c � � U O O Q Q2 o[ U2 oU] 6� c* V]*
* U O 7 c U]*
oJ0 VP ! )r r )r r r � wordchars)r r �is & r r �AutoExpand.getprevwordU sJ � ��y�y�}�}�/��:����I���!�e��q�S� �T�^�^�3��!��A��B�x�r )r r r )�__name__�
__module__�__qualname__�__firstlineno__�string�
ascii_letters�digitsr0 r r r r �__static_attributes__�__classdictcell__)�
__classdict__s @r r r s7 �� � ��$�$�v�}�}�4�s�:�I��
�6�>� r r �__main__)�mainz!idlelib.idle_test.test_autoexpand)� verbosity)r$ r7 r r3 �unittestr>