tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
Z\¬Qc@sðddlZddlZddlZddlZddlTddlZddlZddlZddlm    Z    ddl
m Z ddl
m Z ddl
m Z ddl
mZddl
mZdd    l
mZdd
lmZdd l
mZmZmZdd l
mZd Zd„Zed„Zdefd„ƒYZeƒZdefd„ƒYZd„Zd„Z ddl!Z!e!Z"[!defd„ƒYZ#d„Z$idd6dd6dd6Z%d„Z&d „Z'd!„Z(e)d"krìe(ƒndS(#iÿÿÿÿN(t*(tMultiCallCreator(tidlever(t
WindowList(t SearchDialog(t
GrepDialog(t ReplaceDialog(tPyParse(tidleConf(t aboutDialogttextViewt configDialog(t macosxSupporticCstj\}}}}}d||f}|rB|d|f7}n|dkrb|d|f7}n'|dkr‰|d|d|f7}n|S(sYFormat sys.version_info to produce the Sphinx version string used to install the chm docss%s%ss%st    candidatesrc%stfinali(tsyst version_info(tmajortminortmicrotleveltserialtrelease((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt_sphinx_versions  c
CsSd}x«|jdƒD]š}|dk    r5|jƒntj||ƒ\}}}|dtjkrgPntj||||ƒ}y |j}Wqtk
r¯t    d|j
‚qXqW|dtjkrFt |ƒ}y |j }Wntk
róqFXd}t jj|ƒ\}}    |    dkr'd}    n||    }|dtjf}n|||fS(sCVersion of imp.find_module() that handles hierarchical module namest.isNo source for module s.pycs.pyN(tNonetsplittclosetimpt find_modulet    PY_SOURCEt load_modulet__path__tAttributeErrort ImportErrort__name__t
__import__t__file__tostpathtsplitext(
tfullnameR'tfilettgttfilenametdescrtmoduletmtbasetext((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt _find_module$s2            
t
HelpDialogcBs;eZd„Zdd„Zd„Zd„Zdd„ZRS(cCsd|_d|_dS(N(Rtparenttdlg(tself((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt__init__Gs    cCs9|jdkr|j|ƒn|r5|j|ƒndS(sä Display the help dialog.
 
            parent - parent widget for the help window
 
            near - a Toplevel widget (e.g. EditorWindow or PyShell)
                   to use as a reference for placing the help window
        N(R5Rt show_dialogt
nearwindow(R6R4tnear((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytdisplayKscCsr||_tjjtjjtjjtƒƒdƒ}tj|d|dt    ƒ|_
}|j d|j dƒdS(Nshelp.txttHelptmodals    <Destroy>t+( R4R&R'tjointabspathtdirnameR%R
t    view_filetFalseR5tbindtdestroy(R6R4tfnR5((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR8Xs    -"cCs\|j}|jƒd|jƒdf}|jƒ|jd|ƒ|jƒ|jƒdS(Ni
s=+%d+%d(R5t winfo_rootxt winfo_rootytwithdrawtgeometryt    deiconifytlift(R6R:R5tgeom((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR9^s      
 
cCsd|_d|_dS(N(RR5R4(R6tev((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyREis    N(R#t
__module__R7RR;R8R9RE(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR3Es
             t EditorWindowcBs‹eZddlmZddlmZddlmZddlm    Z    m
Z
m Z ddl m Z ddlmZddlmZd~Zd~d~d~d~d„Zd    „Zd
„Zd „Zd „Zd~d „Zdd€dd‚dƒd„d…gZejƒred=d†ed<nd„Zd „Zd~Zd!„Z d‡gZ!d$„Z"d%„Z#d&„Z$d'„Z%d~d(„Z&d~d)„Z'd~d*„Z(d~d+„Z)d,„Z*d-„Z+d.„Z,d~d/„Z-d~d0„Z.d1„Z/d2„Z0d3„Z1d4„Z2d5„Z3d6„Z4d7„Z5d8„Z6d9„Z7d~d:„Z8d~d;„Z9d~d<„Z:d=„Z;d>„Z<d?„Z=d@„Z>dA„Z?dB„Z@dC„ZAdD„ZBdE„ZCdF„ZDdG„ZEdH„ZFdI„ZGdJ„ZHd~dK„ZIdL„ZJdM„ZKdN„ZLdO„ZMdP„ZNdQ„ZOdR„ZPdS„ZQdTdU„ZRdV„ZSdTdW„ZTdX„ZUdY„ZVdZ„ZWd[„ZXd\„ZYd]„ZZd^„Z[d_„Z\d`„Z]da„Z^d~db„Z_d~d~dc„Z`dd„Zad~de„Zbd~df„Zcdg„Zddh„Zedi„Zfdj„Zgehdk„Zidl„Zjdm„Zkdn„Zldo„Zmdp„Zndq„Zodr„Zpds„Zqdt„Zrdu„Zsdv„Ztdw„Zudx„Zvdy„Zwdz„Zxd{„Zyd|„Zzd}„Z{RS(ˆiÿÿÿÿ(t
Percolator(tColorDelegator(t UndoDelegator(t    IOBindingtfilesystemencodingtencoding(tBindings(tToplevel(tMultiStatusBarc
CsÞ    tjdkrstjjtjddƒ}tjj    dƒrddtj
d }tjj dƒrld}q
d    }tjj||ddƒ}nztjd d
krãtjjtjdd t ƒƒ}tjj |ƒr
|}q
n'tjƒr
tjjtjd ƒ}ntjj|ƒ}tjj |ƒr\|t_tjd krpdtjt_qpqsdtj
d t_ntjƒ}    ||_|p”|j}||_y tjWntk
rÇdt_nXt|ƒ|_tj|d|jƒ|_}
|r|j|_|j|j_ni|_i|j_tjjtj ƒdƒ|_!t"|
ƒ|_#} t$| ddƒ|_%} tj&dddddƒ|_'idd6dd6dd6|j'd6tj&ddd ddƒd 6} t(d!krñd"| d#<nt)t*ƒ| | |_+}|j+|j_,|j-ƒ|j.ƒ|jj/d$|j0ƒ|jj1d%|j2ƒtjƒr‘|j1d%|j2ƒ|j1d&|j3ƒn|j1d'|j3ƒ|j1d(|j4ƒ|j1d)|j5ƒ|j1d*|j6ƒ|j1d+|j7ƒ|j1d,|j8ƒ|j1d-|j9ƒ|j1d.|j:ƒ|j1d/|j;ƒ|j1d0|j<ƒ|j1d1d2„ƒ|j1d3|j=ƒ|j1d4|j>ƒ|j1d5|j?ƒ|j1d6|j@ƒ|j1d7|jAƒ|j1d8|jBƒ|j1d9|jCƒ|j1d:|jDƒ|j1d;|jEƒ|j1d<|jFƒ|j1d=|jGƒ|j1d>|jHƒ|j1d?|jIƒ|j1d@|jJƒ|j1dA|jKƒ|j1dB|jLƒ|j1dC|jMƒ|j1dD|jNƒ|j1dE|jOƒ|j1dF|jPdGƒƒ|j1dH|jPdIƒƒ|j1dJ|jQƒ|j1dK|jRƒ|j1dL|jSƒ|r±||j|<|r_||jT|<n|j1dM|jUƒ|j1dN|jjVƒ|j1dO|jWƒ|j1dP|jXƒn|jYƒ|jZ| dQ<| j[dRt\dSt]ƒ| j^|dT<dU}tj&dddVddWƒrdX}n|j_dYtj&dddYƒtj&dddZddƒ|fƒ| j[dRt`dStad[dIƒ|j[dRtbdStad[dIƒ|jcƒtj&dd\d]ddWƒ}| |_dd^|_e|je|_f|jgƒth|_idi|_j|jk|ƒ|_l}|jmƒ|_n}|jo|ƒ|jp|_p|jq|_q|jr|jsƒ|jt|ƒ|_u}|jv|jwƒt|jƒ|_x|jydbjzddcdddedGd|jxƒ|j{ƒd|_||r    tjj}|ƒr÷tjj |ƒ r÷|j~|ƒq    |j|ƒn|j€ƒ|jsƒ|j|j‚|ƒƒ|jƒƒ|jyj„dfƒ}|r¶    |j…dgƒ}|dkrw    dh}n|dGkrš    |j†ƒ|dI}n||_‡tjˆ|j‰ƒntŠj‹|_‹tŒj|_tŠjŽ|_ŽdS(jNtDocs
index.htmltlinuxs python-docs-s%s.%s.%sis/var/www/html/python/s/var/www/html/python/index.htmls/usr/share/doc/twins Python%s.chms0Resources/English.lproj/Documentation/index.htmltdarwinsfile://shttp://docs.python.org/%d.%dis>>> tmenusrecent-files.lsttnametvbartmainRPtwidthttypetintttextitpadxtnonetwraptheightg!@t wordprocessorttabstyletWM_DELETE_WINDOWs<<close-window>>s<Control-Button-1>s<3>s<<cut>>s<<copy>>s    <<paste>>s<<center-insert>>s<<help>>s<<python-docs>>s<<about-idle>>s<<open-config-dialog>>s<<open-module>>s<<do-nothing>>cSsdS(Ntbreak((tevent((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt<lambda>×ss<<select-all>>s<<remove-selection>>s<<find>>s<<find-again>>s<<find-in-files>>s<<find-selection>>s <<replace>>s <<goto-line>>s<<smart-backspace>>s<<newline-and-indent>>s<<smart-indent>>s<<indent-region>>s<<dedent-region>>s<<comment-region>>s<<uncomment-region>>s<<tabify-region>>s<<untabify-region>>s<<toggle-tabs>>s<<change-indentwidth>>s<Left>is<Right>is<<del-word-left>>s<<del-word-right>>s<<beginning-of-line>>s<<open-new-window>>s<<close-all-windows>>s<<open-class-browser>>s<<open-path-browser>>tcommandtsidetfilltyscrollcommandtnormals    font-boldtbooltboldtfonts    font-sizetexpandtIndents
use-spacesii2iôi@KLR*tlabels Recent Filest    underlinetwindowstendiÿÿÿÿ(i2iôi@KL(RPthelp_urlRR&R'R?RtprefixtplatformtcountRtisdirRtisfileR trunningAsOSXApptnormpathRt CurrentThemetflisttroottps1R!tMenutmenubarRtListedToplevelttoptvarst tkinter_varst inversedictt instance_dictt GetUserCfgDirtrecent_files_pathtFramet
text_framet    ScrollbarR`t    GetOptionRbt    TkVersionRtTextRetfocused_widgett createmenubartapply_bindingstprotocolRRDt close_eventtright_menu_eventtcuttcopytpastetcenter_insert_eventt help_dialogt python_docst about_dialogt config_dialogt open_modulet
select_alltremove_selectiont
find_eventtfind_again_eventtfind_in_files_eventtfind_selection_eventt replace_eventtgoto_line_eventtsmart_backspace_eventtnewline_and_indent_eventtsmart_indent_eventtindent_region_eventtdedent_region_eventtcomment_region_eventtuncomment_region_eventttabify_region_eventtuntabify_region_eventttoggle_tabs_eventtchange_indentwidth_eventtmove_at_edge_if_selectiont del_word_lefttdel_word_rightt home_callbacktdictt new_callbacktclose_all_callbacktopen_class_browsertopen_path_browsertset_status_bartyviewtpacktRIGHTtYtsettconfigtLEFTtBOTHtTOPt    focus_settusetabsttabwidtht indentwidthtset_notabs_indentwidthRCtcontext_use_ps1tnum_context_linesRQtperRStundot insertfiltertundo_block_starttundo_block_stoptset_saved_change_hooktsaved_change_hookRTtiotset_filename_change_hooktfilename_change_hooktrecent_files_menutmenudicttinsert_cascadetupdate_recent_files_listtcolortexiststloadfilet set_filenametResetColorizertset_indentation_paramstispythonsourcetload_extensionstgettindext add_separatort    wmenu_endtregister_callbacktpostwindowsmenut tkMessageBoxtaskyesnottkSimpleDialogt
askintegert    showerror(R6R‡R,tkeyRˆtdochometpyvertbasepathtchmfilet currentThemeRR•R`t text_optionsRet
fontWeightt    usespacesRÖR×RÝR^R}((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR7{s>                              
 
 
 
        
 
 
     
           
 
    %
 
 
      
       cCsxt|tƒs| r|Sy|j|jƒSWnCtk
rsy|j|jƒSWqttk
ro|jdƒSXnXdS(s8convert filename to unicode in order to display it in Tks    iso8859-1N(t
isinstancetunicodetdecodeRUtUnicodeDecodeErrorRV(R6R,((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt_filename_to_unicode]s  cCs)|jjƒ\}}|jj|ƒdS(NRm(RÝtdefaultfilenameR‡tnew(R6RnRAtbasename((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRÁlscCs||jd@dkr&|jdkr&dS|jjdƒr|jjdddƒr|jjdddƒrt|jjdƒjdƒd    ƒ}nR|jjddƒ}x:tt    |ƒƒD]}||dkr¸Pq¸q¸Wt    |ƒ}t|jjd ƒjdƒd    ƒ}||krd}nd t
|ƒd}|jd    @dkr\|jj dddƒnù|jjdƒs„|jj dd ƒnY|jj|jjdƒd|jjd ƒƒrÊ|jj ddƒn|jj ddƒ|jj|ƒ}|jjdƒ}|jj|d|ƒr)||}}n|jj dddƒ|jj d||ƒ|jj d |ƒ|jjd ƒdS(NiitHometiomarks<=sinsert lineendsinsert linestartRit s    tinsertsinsert linestart+tctsels1.0R}s    sel.firstt    my_anchort<ssel.lastt>Rm(R
s    (tstatetkeysymReRítcompareRdRRìtxrangetlentstrt
tag_removetmark_setttag_addtsee(R6Rntinsertpttlinetlineattdesttfirsttlast((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¿qs>"( %     0cCsË|j|jƒ|_tjƒr=|jjdddtƒn|jjdddtƒ|jjdddtƒ|jjdtdt    ƒ|j
j d    |j ƒ|j
j d    d
d ƒ|j
j|j ƒdS( Nt    _padding1s    RqtcolumnsCol: ?RsLn: ?Rrs<<set-line-and-column>>s <KeyRelease>s<ButtonRelease>(RYRt
status_barR R„t    set_labelRÈRÇtBOTTOMtXReRDtset_line_and_columnt    event_addt
after_idle(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRŚs  
cCsS|jjtƒjdƒ\}}|jjdd|ƒ|jjdd|ƒdS(NRR"sCol: %sRsLn: %s(ReRítINSERTRR#R$(R6RnRR"((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR'¨s!R*t_Fileteditt_EdittformattF_ormattrunt_Runtoptionst_OptionsR|t_Windowsthelpt_Helpiýÿÿÿt_WindowiþÿÿÿcCsî|j}i|_}x_|jD]T\}}t|ƒ\}}t|d|ƒ||<}|jd|d|d|ƒq Wtj|jƒr½t|ddƒ|d<}|jddd|ƒn|j    ƒ|jdj
t ƒ|_ |j ƒdS(    NR_RzR^R{tapplet applicationtIDLER5(R‹Rát
menu_specstprepstrRŠt add_cascadeR tisCarbonAquaTkRˆt
fill_menusRítENDtbase_helpmenu_lengthtreset_help_menu_entries(R6tmbarRáR_RzR{R^((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR›¼s      
cCsk|jd}|jdƒ}|dkr1d}n||jkrZ|j|jd|ƒntj|ƒdS(NR|R}iÿÿÿÿi(RáRíRRïtdeleteRtadd_windows_to_menu(R6R^R}((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRñÍs      c    Cs%|jjdd|j|jfƒ|js9|jƒn|j}||_tjd dk}|rz|jj    ddƒnxr|j
D]g}y|\}}}Wnt k
r³q„nX|dkrÆq„nt ||ƒƒ}|j|d|ƒq„W|j|j|jƒ|r!|jj    ddƒndS(    NR s@%d,%diR\tcursortarrowRtibeam(ReRtxtytrmenut
make_rmenuRnRR€RËt rmenu_specst
ValueErrorRtgetattrtentryconfigurettk_popuptx_rootty_root(    R6RnRKtiswintitemRzt    eventnamet verify_stateR((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRŸÙs(#               tCloses<<close-window>>cCsŒt|jddƒ}xg|jD]\}|d|d}}|dk    rq|j|d„}|jd|d|ƒq|jƒqW||_dS(NttearoffiicSs|j|ƒdS(N(tevent_generate(ReRV((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRpüsRzRp(RŠReRMRt add_commandRîRK(R6RKRURzRVRp((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRL÷s cCs
|jƒS(N(trmenu_check_copy(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytrmenu_check_cutscCs=y|jjdƒ}Wntk
r*dSX|r5dSdSdS(Ns    sel.firsttdisabledRt(ReRítTclError(R6tindx((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR\s
 cCs=y |jjjd|jdƒWntk
r4dSXdSdS(Nstk::GetSelectiont    CLIPBOARDR^Rt(RettktcallR_(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytrmenu_check_pastes
  cCstj|jdƒdS(Ns
About IDLE(R    t AboutDialogR(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¦scCstj|jdƒdS(NtSettings(R t ConfigDialogR(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR§scCs8|jr|j}n    |j}tj|d|jƒdS(NR:(RˆRt
helpDialogR;(R6RnR4((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¤s         cCsytjd dkreytj|jƒWqutk
ra}tjdddt|ƒd|j    ƒquXnt
j |jƒdS(NiR\ttitlesDocument Start FailuretmessageR4Rm( RR€R&t    startfileR~t WindowsErrorRòRöRRet
webbrowsertopen(R6Rntwhy((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¥#scCs|jjdƒdS(Ns<<Cut>>Rm(ReRZ(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR .scCs*|jjdƒsdS|jjdƒdS(NR s<<Copy>>Rm(Ret
tag_rangesRZ(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¡2scCs$|jjdƒ|jjdƒdS(Ns    <<Paste>>R Rm(ReRZR(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¢9scCs=|jjdddƒ|jjddƒ|jjdƒdS(NR s1.0send-1cR Rm(ReRRR(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR©>scCs*|jjdddƒ|jjdƒdS(NR s1.0R}R (ReRR(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRªDscs:|jj‰|jj‰d‰‡‡‡‡fd†}|S(sèCursor move begins at start or end of selection
 
        When a left/right cursor key is pressed create and return to Tkinter a
        function which causes a cursor move from the associated edge of the
        selection.
 
        s sel.first+1cs sel.last-1ccsM|jd@dkrIyˆdƒˆdˆˆƒWqItk
rEqIXndS(Niis    sel.firstR (RR_(Rn(t
edge_indext edges_tabletself_text_indextself_text_mark_set(s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt move_at_edgeSs 
 (s sel.first+1cs sel.last-1c(ReRíR(R6RqRu((RqRrRsRts\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¼Hs
  cCs|jjdƒdS(Ns <Meta-Delete>Rm(ReRZ(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR½\scCs|jjdƒdS(Ns<Meta-d>Rm(ReRZ(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¾`scCstj|jƒdS(NRm(RtfindRe(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR«dscCstj|jƒdS(NRm(Rt
find_againRe(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¬hscCstj|jƒdS(NRm(Rtfind_selectionRe(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR®lscCs tj|j|j|jƒdS(NRm(RtgrepReRÝR‡(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR­pscCstj|jƒdS(NRm(RtreplaceRe(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¯tscCsp|j}tjddd|ƒ}|dkr1dS|dkrK|jƒdS|jdd|ƒ|jdƒdS(NtGotosGo to line number:R4RmiR s%d.0(ReRôRõRtbellRR(R6RnRetlineno((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR°xs          
c    CsPy|jjddƒ}Wntk
r2d}n X|jƒ}tjddd|jd|ƒ}|ru|jƒ}n|sdSy"t|ƒ\}}\}}}Wn9ttfk
rÜ}t    j
dt |ƒd|jƒdSX|t j kr t    j
d    d
|d|jƒdS|r |jƒn|jr<|jj|ƒn|jj|ƒdS( Ns    sel.firstssel.lastttModulesAEnter the name of a Python module
to search on sys.path and open:R4t initialvalues Import errorsUnsupported types%s is not a source module(ReRìR_tstripRôt    askstringR2t    NameErrorR"RòRöRRRRR‡RnRÝRæ(    R6RnR_tfR*tsuffixtmodeRctmsg((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¨„s4 
     "         cCs™|jj}|s<tjddd|jƒ|jjƒdStjj    |ƒ\}}tjj
|ƒ\}}ddl m }|j |j ||gƒdS(Ns No filenames&This buffer has no associated filenametmasteriÿÿÿÿ(t ClassBrowser(RÝR,RòRöReRÏRR&R'RR(tidlelibR‰R‡(R6RnR,theadttailR0R1R‰((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRÃ¥s 
 cCs$ddlm}|j|jƒdS(Niÿÿÿÿ(t PathBrowser(RŠRR‡(R6RnR((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRijscCsl|dk    rh|dkrh|jjdd|ƒ|jjdddƒ|jjdddƒ|jƒndS(NiR s%d.0R s1.0R}s
insert +1l(RReRRRtcenter(R6R}((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytgotoline·s
cCsº| stjj|ƒrtStjjtjj|ƒƒ\}}tjj|ƒdkr]tSy&t|ƒ}|jƒ}|j    ƒWnt
k
r—t SX|j dƒo¹|j dƒdkS(Ns.pys.pyws#!tpythoni(s.pys.pyw(R&R'R‚tTrueR(RtnormcaseRntreadlineRtIOErrorRCt
startswithRv(R6R,R0R1R„R((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRê¾s$   cCs)|jr%|jj|ƒd|_ndS(N(R‡tunregister_maybe_terminateR(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt
close_hookÌs    cCs ||_dS(N(R—(R6R—((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytset_close_hookÑscCsD|jr|jj|ƒn|jƒ|jj|ƒ|jƒdS(N(R‡tfilename_changed_editRÜRtupdate_windowlist_registryRè(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRßÔs
    
cCs}|jr dS|j|jjƒr4|jƒ|_n|jry|jj|jƒ|jj|jƒ|jj|jƒndS(N(    RäRêRÝR,RRRÖt removefilterR×RØ(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt _addcolorizerÛs        cCs:|js dS|jjƒ|jj|jƒd|_dS(N(Rät removecolorsRÖR›R(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt _rmcolorizeræs
     c Cs¤|jƒ|jƒtjdddƒ}tj|dƒ}tj|dddƒ}tj|dƒ}|jjd    |d    d
|d
d |d |d    d |d
ƒdS(sUpdate the colour themeRatThemeR_RtRFtfgBgtfgthilitet
foregroundt
backgroundtinsertbackgroundtselectforegroundtselectbackgroundN(RžRœRR—t GetHighlightReRË(R6tthemet normal_colorst cursor_colort select_colors((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRèís
 
 
 
 
c    Csnd}tjdddddƒr*d}n|jjdtjdddƒtjddd    dd
ƒ|fƒd S( s.Update the text widgets' font if it is changedRtRaRPs    font-boldRcRuRvRws    font-sizeRdN(RR—ReRË(R6Rþ((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt    ResetFontþs    cCs©tjƒ|j_}x-|jƒD]\}}|jj||Œq#Wx\|jƒD]N}tj|ƒ}|rSx0|jƒD]\}}|jj||Œq{WqSqSWdS(s/Remove the keybindings before they are changed.N(    RtGetCurrentKeySetRWtdefault_keydefstitemsRet event_deletetget_standard_extension_namestGetExtensionBindings(R6tkeydefsRntkeylistt extensionNametxkeydefs((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytRemoveKeybindings    sc CsÇtjƒ|j_}|jƒx9|jƒD]+}tj|ƒ}|r-|j|ƒq-q-Wi}xd|jjD]V}i||d<x?|dD]3}|rŽ|d||dt|dƒd<qŽqŽWqoWx÷|j    j
ƒD]æ}|j    |}|j t ƒd}x½t d|ƒD]¬}    |j|    ƒdkr|j|    dƒ}
|
r»|j|    dƒ} d} ||krŠ| ||krŠ||| } qŠn| r¸t|| ƒ}
|j|    d|
ƒq¸q»qqWqÙWdS(s-Update the keybindings after they are changediiRpt acceleratorRzR~N(RR®RWR¯RœR²R³tmenudefsR<RátkeysRíR@trangeRct    entrycgettget_acceleratort entryconfig( R6R´R¶R·t menuEventDictR^RUt menubarItemR}RítacceltitemNameRn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytApplyKeybindingss6
/  cCs.|js*tjdddddƒ|_ndS(sCUpdate the indentwidth if changed and not using tabs in this windowRaRys
num-spacesRcRdN(RÐRR—RÒ(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRÓ5s    cCs³tjƒ}|jd}|jtƒ}||jkrQ|j|jd|ƒn|r¢|jƒx>|D]3}|j|dƒ}|j    d|dd|ƒqhWn||jd<dS(s3Update the additional help entries on the Help menuR5iRziRpN(
RtGetAllExtraHelpSourcesListRáRíR@RARDRît"_EditorWindow__extra_help_callbackR[(R6t    help_listthelpmenuthelpmenu_lengthtentrytcmd((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRB<s  
 !cs|‡fd†}|S(sCCreate a callback with the helpfile value frozen at definition timecs—|jd    ƒs$tjj|ƒ}ntjd dkr†ytj|ƒWq“tk
r‚}tj    dddt
|ƒdˆj ƒq“Xn t j |ƒdS(
NtwwwthttpiR\RisDocument Start FailureRjR4(RÌRÍ(R•R&R'R…RR€RkRlRòRöRReRmRn(thelpfileRo(R6(s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytdisplay_extra_helpOs((R6RÎRÏ((R6s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt__extra_help_callbackMs c
Cs\g}tjj|jƒrNt|jdƒ}z|jƒ}Wd|jƒXn|r™tjj|ƒd}||kr†|j|ƒn|j    d|ƒng}xD|D]<}d|ksÒtjj|dd!ƒ r¦|j
|ƒq¦q¦Wg|D]}||krí|^qí}d}|dt |ƒ!}y,t|jdƒ}|j |ƒWdQXWn`t k
r²}t|jd    tƒs³t|j_tjd
d d d t|ƒd|jƒq³nXx¢|jjjƒD]Ž}    |    j}
|
jdtƒxlt|ƒD]^\} } | jƒ} |j| ƒ} |    j | ƒ}|
j!d|| d| d|ddƒqòWqÆWdS(s/Load and update the recent files list and menustrNs
itiÿÿÿÿt1234567890ABCDEFGHIJKtwtrecentfilelist_error_displayedRis
IDLE ErrorRjs&Unable to update Recent Files list:
%sR4RzR
RpR{("R&R'RåR“Rnt    readlinesRR@tremoveR tappendRt
writelinesR”RORˆRCR‘RÕRòRöRReRR‘R»RàRDR@t    enumeratetrstripRt#_EditorWindow__recent_file_callbackR[(R6tnew_filetrf_listt rf_list_filet    bad_pathsR'tulcharstrf_fileterrtinstanceR^tit    file_namet
ufile_nametcallback((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRã\sL  &%       cs|‡fd†}|S(Ncsˆjjd|ƒdS(NteditFile(RÝRn(t
fn_closure(R6(s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytopen_recent_fileŠs((R6RæRë((R6s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt__recent_file_callback‰scCs²|jƒ}|jƒ}|r5|r5|d|}n$|rD|}n|rS|}nd}|ph|ph|}|jƒsŽd|}d|}n|jj|ƒ|jj|ƒdS(Ns - tUntitleds*%s*s*%s(t short_titlet
long_titlet    get_savedRtwm_titlet wm_iconname(R6tshorttlongRiticon((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR܎s            
 cCs |jjƒS(N(R×Rð(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRð scCs|jj|ƒdS(N(R×t    set_saved(R6tflag((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRö£scCs|jjƒdS(N(R×t
reset_undo(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRø¦scCs4|jj}|r'tjj|ƒ}n|j|ƒS(N(RÝR,R&R'RR(R6R,((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRî©s cCs|j|jjpdƒS(NR~(RRÝR,(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRï°scCs|jƒdS(N(RŽ(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR£´sR cCsb|j}|jƒ\}}|j|ƒ}||}td||dƒ}|jt|ƒƒdS(Nii(Retgetwindowlinest    getlinenotmaxRÆtfloat(R6tmarkReRtbotR}Ritnewtop((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRŽ·s     
cCsp|j}|jdƒ}|jdƒ}||krf|jƒdkrft|dƒ}||d}n||fS(Ns@0,0s@0,65535iRi(ReRút winfo_heightRd(R6ReRRþRi((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRù¿s    cCs"|j}tt|j|ƒƒƒS(N(ReRdRüRí(R6RýRe((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRúÉs    cCs:|jjƒ}tjd|ƒ}tt|jƒƒ}|S(sReturn (width, height, x, y)s(\d+)x(\d+)\+(-?\d+)\+(-?\d+)(Rt wm_geometrytretmatchtmapRdtgroups(R6RMR/ttuple((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt get_geometryÍscCs|jƒdS(N(R(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRžÔscCsh|jrd|jƒsW|jjƒdkr:|jjƒn|jjƒ|jjƒn|jjƒSdS(NRt(RÝRðRRRKtlowerRLt    maybesave(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR    ×s      cCs/|jƒ}t|ƒdkr+|jƒn|S(Ntcancel(R    Rt_close(R6treply((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRàs  cCsÒ|jjr%|jd|jjƒntj|jƒ|jƒ|jjƒd|_d|_    |j
rƒ|j
jt ƒd|_
nd|_ d|_ |jjƒd|_|jjƒ|jrÎ|jƒndS(NRÝ(RÝR,RãRtunregister_callbackRñtunload_extensionsRRR×RäRCReRRÖRRER—(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR æs" 
                                cCsi|_|jƒdS(N(t
extensionstload_standard_extensions(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRëús    cCsCx3|jjƒD]"}t|dƒr|jƒqqWi|_dS(NR(RtvaluesthasattrR(R6tins((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRþscCs[xT|jƒD]F}y|j|ƒWq dGt|ƒGHddl}|jƒq Xq WdS(NsFailed to load extensioniÿÿÿÿ(R²tload_extensiontreprt    tracebackt    print_exc(R6R_R((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRs cCstjdtƒS(Nt editor_only(Rt GetExtensionsR‘(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR² scCsVyt|tƒtƒgƒ}Wntk
r<dG|GHdSXt||ƒ}tj|ƒ}t|dƒr€|j|j    |ƒn||ƒ}||j
|<|rR|j |ƒx£|j ƒD]’}|j ddƒ}x|d dkrñ|d}qÔWx|ddkr|d }qõW|d    }t||ƒr¹|jj|t||ƒƒq¹q¹WndS(
Ns
Failed to import extension: Rºt-t_iRiÿÿÿÿRt_event(R$tglobalstlocalsR"RORR³RR?RºRRœR»RzReRD(R6R_tmodtclsR´Rtveventt
methodname((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRs,        
cCsg|dkr|jj}n|j}||_x3|jƒD]%\}}|r:|j||Œq:q:WdS(N(RRWR¯ReR´R°R((R6R´ReRnRµ((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRœ(s         c Csf|d    kr|jj}n|d    kr6|jj}n|j}|j}x|D]\}}|j|ƒ}|svqOnxå|D]Ý}|s–|jƒq}|\}    }
|    d dk} | rÅ|    d}    nt|    ƒ\} }    t    ||
ƒ} ||
d„}| r8|j
|
t ƒ}|j d|    d| d|d| d|ƒq}|j d|    d| d|d| ƒq}WqOWd    S(
sAdd appropriate entries to the menus and submenus
 
        Menus that are absent or None in self.menudict are ignored.
        it!cSs|j|ƒdS(N(RZ(ReRV((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRpJsRzR{RpR¹tvariableN(RRWRºR¯RáReRìRîR<R¾t get_var_objt
BooleanVartadd_checkbuttonR[(R6RºR´RáRetmnamet    entrylistR^RÊRzRVt checkbuttonR{R¹Rptvar((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR?1s8               
cCs2|j|ƒ}|r%|jƒ}|St|‚dS(N(R%RìRƒ(R6R_R+tvalue((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytgetvarVs
 cCs5|j||ƒ}|r(|j|ƒn    t|‚dS(N(R%RÊRƒ(R6R_R,tvartypeR+((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytsetvar^scCs@|jj|ƒ}| r<|r<||jƒ|j|<}n|S(N(RRìRe(R6R_R.R+((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR%es cCs<|jr4|jjd|ƒp3d|jj|ƒkSdSdS(NtTODOtSTRINGi(RäRet tag_prevranget    tag_names(R6t
text_index((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytis_char_in_stringus    cCsKy2|jjdƒ}|jjdƒ}||fSWntk
rFdSXdS(Ns    sel.firstssel.last(NN(ReRíR_R(R6RR ((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytget_selection_indicess  cCs|jdpt}t|ƒS(Nttabs(RetTK_TABWIDTH_DEFAULTRd(R6tcurrent((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt get_tabwidthŒscCs^|j}|jƒ|krZ|jjdd|dd|jd|ƒ}|jd|ƒndS(NRwtmeasures
-displayoftnR7(ReR:RbRcRˆt    configure(R6t newtabwidthRetpixels((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt set_tabwidth’s          cCsu|ra|ra|jƒ}d|ko/dknr@||_n|j|jkrat|_qan|j|jƒdS(Nii(t guess_indentRÒRÑRCRÐR@(R6RêtguessRå((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRé s   c Cså|j}|jƒ\}}|rK|rK|j||ƒ|jd|ƒdS|jddƒ}|dkrœ|jdddƒrŽ|jdƒn
|jƒdS|dd    kr½|jdƒdS|j}t|j    |ƒƒ}|d
ksít
‚|d |j |j }|j r't jjd ƒd}    nd}    d
}
x\||    krFPn|d }|
d }
t|j    |ƒƒ}||ks‹|dd    kr6Pq6q6|jƒ|jd |
dƒ||kr×|jdd||ƒn|jƒdS(NR Rmsinsert linestartR~Rs1.0s    insert-1ciÿÿÿÿs     iis
s
insert-%dcR
(ReR6RDRRìRR|RÑRt
expandtabstAssertionErrorRÒRÔRR‰RRÙR RÚ( R6RnReRR tcharsRÑthavetwanttlast_line_of_promptt ncharsdeleted((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR±©sJ      
          
 
 
 
c
CsH|j}|jƒ\}}|jƒz|r||r|t|ƒt|ƒkrY|j|ƒS|j||ƒ|jd|ƒn|jddƒ}t||j    ƒ\}}|t
|ƒkrÏ|j ||j ƒnU|j rád}n3t
|j|j    ƒƒ}|j }    d|    ||    }|jd|ƒ|jdƒdSWd|jƒXdS(NR sinsert linestarts    R
Rm(ReR6RÙt
index2lineR´RDRRìt
classifywsRÑRt reindent_toRÒRÐRCR RRÚ(
R6RnReRR Rtrawt    effectivetpadR<((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR³Ùs,    
               c    Cs|j}|jƒ\}}|jƒzÊ|rW|rW|j||ƒ|jd|ƒn|jddƒ}dt|ƒ}}x*||kr¨||dkr¨|d}qW||krÉ|jddƒdS|| }d}tj    j
dƒd}    x:|r+|ddkr+||    kr+|d }|d}qòW|rI|jd    |dƒnx&|jdƒdkrq|jdƒqLW|jddƒt |j dƒƒ}
t j|j|jƒ} |js^x|jD]‚} t|
| dƒ} t| ƒd
}|j|dƒ}| j|ƒ| j|j|j|ƒƒ}|dk    s@| dkrÂPqÂqÂW| j|pWdƒnW|jd dƒ}|rƒ|d}nd }|j|dƒ}| j|ƒ| jdƒ| jƒ}|t jkr|t jkrânª|t jkr|jd|ƒnˆ|t jkr)|j | j!ƒƒnc|t j"krs| j#ƒdkr]|jd|ƒqŒ|j | j$ƒƒndsŒt%d |fƒ‚dS| j&ƒ}|jd|ƒ| j'ƒrÈ|j(|ƒn"|rê| j)ƒrê|j*|ƒndSWd|j+dƒ|j,ƒXdS(NR sinsert linestartis     is
Rmiÿÿÿÿsinsert - %d charss.0tconsoles1.0sbogus continuation type %r(-ReR6RÙRDRRìRR RR‰RRJRíRtParserRÒRÑRÔRÕRûRtset_strtfind_good_parse_startt_build_char_in_string_funcRtset_loR2tget_continuation_typetC_NONEtC_STRING_FIRST_LINEtC_STRING_NEXT_LINESt    C_BRACKETRLtcompute_bracket_indentt C_BACKSLASHtget_num_lines_in_stmttcompute_backslash_indentRDtget_base_indent_stringtis_block_openerR³tis_block_closerR±RRÚ(R6RnReRR RRåR<tindentRHtlnoRJtcontexttstartatt startatindextrawtexttbodRÑR ((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR²üsŠ    
 
%
            cCs||jd„}|S(NcSs||d|ƒS(Ns+%dc((toffsett _startindext_icis((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pytinnerhs(R5(R6t
startindexRl((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRTgsc
Cs¢|jƒ\}}}}xmtt|ƒƒD]Y}||}|r+t||jƒ\}}    |    |j}    |j|    ƒ||||<q+q+W|j||||ƒdS(NRm(t
get_regionR¼RRKRÑRÒt _make_blankst
set_region(
R6RnR‹RŒREtlinestposRRMRN((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR´ms
 "c
Cs«|jƒ\}}}}xvtt|ƒƒD]b}||}|r+t||jƒ\}}    t|    |jdƒ}    |j|    ƒ||||<q+q+W|j||||ƒdS(NiRm(    RnR¼RRKRÑRûRÒRoRp(
R6RnR‹RŒRERqRrRRMRN((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRµxs
"cCsk|jƒ\}}}}x6tt|ƒdƒD]}||}d|||<q/W|j||||ƒdS(Nis##(RnR¼RRp(R6RnR‹RŒRERqRrR((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¶ƒs
 
cCs©|jƒ\}}}}xttt|ƒƒD]`}||}|sGq+n|d dkrd|d}n|d dkr|d}n|||<q+W|j||||ƒdS(Nis##it#(RnR¼RRp(R6RnR‹RŒRERqRrR((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR·Šs
  c CsÆ|jƒ\}}}}|jƒ}|dkr4dSxutt|ƒƒD]a}||}|rGt||ƒ\}    }
t|
|ƒ\} } d| d| ||    ||<qGqGW|j||||ƒdS(Ns    R
(Rnt _asktabwidthRR¼RRKtdivmodRp( R6RnR‹RŒRERqRÑRrRRMRNtntabstnspaces((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¸—s  
%cCs‚|jƒ\}}}}|jƒ}|dkr4dSx1tt|ƒƒD]}||j|ƒ||<qGW|j||||ƒdS(N(RnRtRR¼RRCRp(R6RnR‹RŒRERqRÑRr((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¹£s  cCsZ|jddd |jdd|jdd    d
|jƒrV|j |_d |_nd S(Ns Toggle tabss
Turn tabs tontoffs?
Indent width swill bes
remains ats 8.s!
 Note: a tab is always 8 columnsR4iRm(RxRy(swill bes
remains at(RóRÐReRÒ(R6Rn((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRº«s!   c Cs_|jddd|jd|jddddƒ}|r[||jkr[|j r[||_nd    S(
Ns Indent widths6New indent width (2-16)
(Always use 8 when using tabs)R4R€tminvalueitmaxvalueiRm(RõReRÒRÐ(R6RnR((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR»Ás             cCsŸ|j}|jƒ\}}|rP|rP|j|dƒ}|j|dƒ}n|jdƒ}|jdƒ}|j||ƒ}|jdƒ}||||fS(Ns
 linestarts-1c lineend +1csinsert linestartsinsert lineend +1cs
(ReR6RíRìR(R6ReRR R‹RŒRERq((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRnÍs     cCs |j}dj|ƒ}||kr2|jƒdS|jdddƒ|jd|ƒ|jƒ|j||ƒ|j||ƒ|jƒ|j    d|dƒdS(Ns
R s1.0R}R (
ReR?R|RRRÙRDR RÚR(R6R‹RŒRERqRetnewchars((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRpÚs     
 
 
cCs=|jr1t||jƒ\}}d|d|Sd|SdS(Ns    R
(RÐRuRÑ(R6R<RvRw((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRoês    cCsk|j}|jƒ|jdddƒr;|jddƒn|r]|jd|j|ƒƒn|jƒdS(Nsinsert linestarts!=R (ReRÙRRDR RoRÚ(R6R"Re((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRLôs    
c Cs.|jddd|jd|jddddƒS(    Ns    Tab widthsColumns per tab? (2-16)R4R€RziR{i(RõReRÒ(R6((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRtýs        cCsrt|j|jƒjƒ\}}|r`|r`t||jƒ\}}t||jƒ\}}n
d}}||S(Ni(tIndentSearcherReRÑR0RK(R6topenertindentedRMt indentsmallt indentlarge((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRA s ! 
N(sfileR+(seditR-(sformatR/(srunR1(R2R3(swindowsR4(shelpR6(swindowsR7(RXs<<close-window>>N(|R#ROtidlelib.PercolatorRQtidlelib.ColorDelegatorRRtidlelib.UndoDelegatorRStidlelib.IOBindingRTRURVRŠRWtTkinterRXtidlelib.MultiStatusBarRYRR~R7RRÁR¿RÅR'R;R R„R›RñRKRŸRMRLR]R\RdR¦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œRžRèR­R¸RÄRÓRBRÆRãRÜRÜRðRöRøRîRïR£RŽRùRúRRžR    RR RëRRR²RRœR?R-R/R%R5R6R:R@R‘RéR±R³R²RTR´RµR¶R·R¸R¹RºR»RnRpRoRLRtRA(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRPpsìâ            )                   
                                                                              !                                                            -                                     
                                                    %                              0    #    k                                                
           cCstt|ƒƒS(N(RdRü(Rí((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRJscCstd}}x]|D]U}|dkr:|d}|d}q|dkre|d}||d|}qPqW||fS(NiR
is    ((tsRÑRMRNtch((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRKs
 
 
R}cBs;eZd„Zd„Zejejd
d„Zd    „ZRS( cCs6||_||_d|_|_d|_|_dS(Ni(ReRÑRåtfinishedRt blkopenlinet indentedline(R6ReRÑ((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR75s        cCsd|jr dS|jd}|_t|ƒd}|jj|ddƒrMdS|jj||dƒS(NR~is.0s>=R}s  lineend+1c(RŠRåRReRRì(R6RåRý((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR“;s    tclasstdeftfortifttrytwhilec        Cs^|jr nN||kr0||kr0||_n*||krZ|jrZ||_d|_ndS(Ni(RŠR‹RŒ(    R6RcttokentstartR}RtINDENTtNAMEtOPENERS((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt
tokeneaterDs         cCsmtj}|jt_z;ytj|j|jƒWntjtfk
rNnXWd|t_X|j|j    fS(N(
t    _tokenizettabsizeRÑttokenizeR“R˜t
TokenErrort SyntaxErrorR‹RŒ(R6t save_tabsize((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR0Ps     
(RRŽRRR‘R’(    R#ROR7R“R™R•R–R˜R0(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR}.s         
    cCs>|jdƒ}|dkr4|| ||d}n||fS(NRii(Rv(RˆRå((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR<`s t[t bracketleftt]t bracketrightt/tslashcCs |j|ƒ}| s7tjƒr;|dddhkr;dS|d}tjdd„|ƒ}tjdd    „|ƒ}tjd
d|ƒ}tjd d |ƒ}tjd d|ƒ}tjdd|ƒ}tjdd|ƒ}tjdd|ƒ}tjdd|ƒ}|S(Ns<<open-module>>s <<goto-line>>s<<change-indentwidth>>R~is-[a-z]\bcSs|jƒjƒS(N(tgrouptupper(R/((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRoyss\b\w+\bcSstj|jƒ|jƒƒS(N(tkeynamesRìR¥(R/((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyRozssKey-tCancels
Ctrl-BreaksControl-sCtrl-RR>s><R
RR(RìR R„Rtsub(R´RVRµRˆ((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyR¾os" 
cCsF|j}|jdddƒ|jdddƒ|jdddƒdS(    Nttcl_wordBreakAftersa biRÊt tcl_wordcharss [a-zA-Z0-9_]ttcl_nonwordcharss [^a-zA-Z0-9_](RbRc(RˆRb((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt fixwordbreaks…s    cCs“tƒ}t|ƒ|jƒtjdr:tjd}nd}td|d|ƒ}|j|jƒ|j    j
d|j ƒ|j ƒ|j ƒdS(NiRˆR,s<<close-all-windows>>(tTkR­RIRtargvRRPR˜tquitReRDRžtmainloopRE(RˆR,R,((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyttestŽs    
 
 
t__main__(*RR&RRR†RôRòRmtidlelib.MultiCallRRŠRRRRRRtidlelib.configHandlerRR    R
R R R8RRR2tobjectR3RhRPRJRKR›R™R}R<R§R¾R­R²R#(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/EditorWindow.pyt<module>sX    
        !(    ÿÿÿÿÿª         2