| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/4413/cwd/usr/lib/python2.6/idlelib/ |
Upload File : |
Ñò ÉÉŽJc @ sË d Z d d k Z d d k l Z l Z l Z l Z l Z d d k l Z d d k Z d d k l Z e d d d d d d d d d d d g ƒ Z d Z d Z e i d ƒ d „ Z d d d „ ƒ YZ d S( sI 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. iÿÿÿÿN( t TOPt LEFTt Xt Wt SUNKEN( t idleConf( t maxintt classt deft elift elset exceptt finallyt fort ift tryt whilet withid iè s ^(\s*)(\w*)c C s | i | ƒ i ƒ S( ( t matcht groups( t st c( ( s) /usr/lib/python2.6/idlelib/CodeContext.pyt <lambda> s t CodeContextc B sÅ e Z d d g f g Z e i d d d d d d d ƒZ e i d d d d d d d ƒZ e i d d d d d d d ƒZ d „ Z d d „ Z d „ Z d d d „ Z d „ Z d „ Z d „ Z RS( t optionss !Code Conte_xts <<toggle-code-context>>t extensionsR t numlinest typet intt defaulti t bgcolort strt LightGrayt fgcolort Blackc C sÈ | | _ | i | _ | i d | _ d | _ d d d t f g | _ d | _ t i d d d d d d t ƒ} | o! | i ƒ | i i d t ƒ n | i i t | i ƒ | i i t | i ƒ d S( Nt fonti iÿÿÿÿt i R R t visibleR t boolR s <<toggle-code-context>>( t editwint textt textfontt Nonet labelt Falset infot topvisibleR t GetOptiont toggle_code_context_eventt setvart Truet aftert UPDATEINTERVALt timer_eventt FONTUPDATEINTERVALt font_timer_event( t selfR' R% ( ( s) /usr/lib/python2.6/idlelib/CodeContext.pyt __init__"