| Server IP : 164.138.27.172 / Your IP : 216.73.216.143 Web Server : nginx/1.27.4 System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : www-adm ( 1001) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3.5/idlelib/__pycache__/ |
Upload File : |
.c`� � @ s� d Z d d l Z d d l m Z m Z m Z m Z m Z d d l Z d d l m Z d d l m Z d d d d d d d d d d d h Z d Z d Z e j d � d d � Z Gd d � d � Z d S)aI CodeContext - Extension to display the block context above the edit window Once code has scrolled off the top of a window, it can be difficult to determine which block you are in. This extension implements a pane at the top of each IDLE edit window which provides block structure hints. These hints are the lines which contain the block opening keywords, e.g. 'if', for the enclosing block. The number of hint lines is determined by the numlines variable in the CodeContext section of config-extensions.def. Lines which do not open blocks are not shown in the context hints pane. � N)�TOP�LEFT�X�W�SUNKEN)�maxsize)�idleConf�class�def�elif�else�except�finally�for�if�try�while�with�d i� z^(\s*)(\w*)c C s | j | � j � S)N)�match�groups)�s�c� r �)/usr/lib/python3.5/idlelib/CodeContext.py�<lambda> s r c @ s� e Z d Z d d g f g Z e j d d d d d d d �Z e j d d d d d d d �Z e j d d d d d d d �Z d d � Z d d d � Z d d � Z d d d d � Z d d � Z d d � Z d d � Z d S)!�CodeContextZoptions�!Code Conte_xt�<<toggle-code-context>>� extensionsZnumlines�type�int�default� �bgcolor�strZ LightGray�fgcolorZBlackc C s� | | _ | j | _ | j d | _ d | _ d g | _ d | _ t j d d d d d d d �} | r� | j � | j j d d � | j j t | j � | j j t | j � d S)N�fontr � � Fr r �visibler �boolr"