| Server IP : 121.121.20.254 / Your IP : 216.73.216.145 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 : /Python315/Lib/idlelib/__pycache__/ |
Upload File : |
R
>lqj c � � Q s ] QHGs ] QHGs Q s Q Q2 s\O 2 \Q6X c ] PH$s \ O Q]P
Q5 P! P! ) z�Example extension, also used for testing.
See extend.txt for more details on creating an extension.
See config-extension.def for configuring an extension.
)�idleConf��wrapsc �6 ` � [ R 2 QU 1Q kk2 oU! )z9Apply a formatting function to all of the selected lines.c �� :� U O O 2 v q#qE[ [ U2 ]*
2 F D oVV* oR V2 VV$ J U O O V#VE2 Q! )� �break)� formatter�
get_region�range�len�
set_region) �self�event�head�tail�chars�lines�pos�line�format_lines && ��$C:\Python315\\Lib\idlelib\zzdummy.py�apply�format_selection.<locals>.apply s] �� �#'�>�>�#<�#<�#>� ��E���U��a��(�C��:�D�$�T�0�E�J� )�
���!�!�$�e�;�� )Nr )r r s f r �format_selectionr s# �� � �;��� �� �Lr c �j ` � \ sQ s]s n QsQQQ ,1,sQ s\Q 2 s\ Q 2 s
\ Q 2 sQsU s
P! )
�ZzDummyz3Prepend or remove initial text from selected lines.�formatc �X � Vm UO U m UO U m P! )z+Initialize the settings for this extension.)�editwin�text�fregionr )r
r s &&r �__init__�ZzDummy.__init__% s � ����L�L�� � ����r c �B � [ O QQQ2 U m P! )z!Load class variables from config.�
extensionsr zz-text)r � GetOption�ztext)�clss &r �reload�ZzDummy.reload+ s � � �&�&�|�Y��I�� r c �$ � U O U 0! )z�Insert text at the beginning of each selected line.
This is bound to the <<z-in>> virtual event when the extensions
are loaded.
)r'