Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d80ab7d

Browse files
committed
Issue # 24225: Update idlelib.README.txt with new file names and event handlers.
1 parent 5a0c278 commit d80ab7d

1 file changed

Lines changed: 135 additions & 133 deletions

File tree

Lib/idlelib/README.txt

Lines changed: 135 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -29,61 +29,61 @@ idle.pyw
2929

3030
Implementation
3131
--------------
32-
AutoComplete.py # Complete attribute names or filenames.
33-
AutoCompleteWindow.py # Display completions.
34-
AutoExpand.py # Expand word with previous word in file.
35-
Bindings.py # Define most of IDLE menu.
36-
CallTipWindow.py # Display calltip.
37-
CallTips.py # Create calltip text.
38-
ClassBrowser.py # Create module browser window.
39-
CodeContext.py # Show compound statement headers otherwise not visible.
40-
ColorDelegator.py # Colorize text (nim).
41-
Debugger.py # Debug code run from editor; show window.
42-
Delegator.py # Define base class for delegators (nim).
43-
EditorWindow.py # Define most of editor and utility functions.
44-
FileList.py # Open files and manage list of open windows (nim).
45-
FormatParagraph.py# Re-wrap multiline strings and comments.
46-
GrepDialog.py # Find all occurrences of pattern in multiple files.
47-
HyperParser.py # Parse code around a given index.
48-
IOBinding.py # Open, read, and write files
49-
IdleHistory.py # Get previous or next user input in shell (nim)
50-
MultiCall.py # Wrap tk widget to allow multiple calls per event (nim).
51-
MultiStatusBar.py # Define status bar for windows (nim).
52-
ObjectBrowser.py # Define class used in StackViewer (nim).
53-
OutputWindow.py # Create window for grep output.
54-
ParenMatch.py # Match fenceposts: (), [], and {}.
55-
PathBrowser.py # Create path browser window.
56-
Percolator.py # Manage delegator stack (nim).
57-
PyParse.py # Give information on code indentation
58-
PyShell.py # Start IDLE, manage shell, complete editor window
59-
RemoteDebugger.py # Debug code run in remote process.
60-
RemoteObjectBrowser.py # Communicate objects between processes with rpc (nim).
61-
ReplaceDialog.py # Search and replace pattern in text.
62-
RstripExtension.py# Strip trailing whitespace
63-
ScriptBinding.py # Check and run user code.
64-
ScrolledList.py # Define ScrolledList widget for IDLE (nim).
65-
SearchDialog.py # Search for pattern in text.
66-
SearchDialogBase.py # Define base for search, replace, and grep dialogs.
67-
SearchEngine.py # Define engine for all 3 search dialogs.
68-
StackViewer.py # View stack after exception.
69-
TreeWidget.py # Define tree widger, used in browsers (nim).
70-
UndoDelegator.py # Manage undo stack.
71-
WidgetRedirector.py # Intercept widget subcommands (for percolator) (nim).
72-
WindowList.py # Manage window list and define listed top level.
73-
ZoomHeight.py # Zoom window to full height of screen.
74-
aboutDialog.py # Display About IDLE dialog.
75-
configDialog.py # Display user configuration dialogs.
76-
configHandler.py # Load, fetch, and save configuration (nim).
77-
configHelpSourceEdit.py # Specify help source.
78-
configSectionNameDialog.py # Spefify user config section name
79-
dynOptionMenuWidget.py # define mutable OptionMenu widget (nim).
32+
autocomplete.py # Complete attribute names or filenames.
33+
autocomplete_w.py # Display completions.
34+
autoexpand.py # Expand word with previous word in file.
35+
browser.py # Create module browser window.
36+
calltip_w.py # Display calltip.
37+
calltips.py # Create calltip text.
38+
codecontext.py # Show compound statement headers otherwise not visible.
39+
colorizer.py # Colorize text (nim)
40+
config.py # Load, fetch, and save configuration (nim).
41+
configdialog.py # Display user configuration dialogs.
42+
config_help.py # Specify help source in configdialog.
43+
config_key.py # Change keybindings.
44+
config_sec.py # Spefify user config section name
45+
dynoption.py # Define mutable OptionMenu widget (nim).
46+
debugobj.py # Define class used in stackviewer.
47+
debugobj_r.py # Communicate objects between processes with rpc (nim).
48+
debugger.py # Debug code run from shell or editor; show window.
49+
debugger_r.py # Debug code run in remote process.
50+
delegator.py # Define base class for delegators (nim).
51+
editor.py # Define most of editor and utility functions.
52+
filelist.py # Open files and manage list of open windows (nim).
53+
grep.py # Find all occurrences of pattern in multiple files.
8054
help.py # Display IDLE's html doc.
81-
keybindingDialog.py # Change keybindings.
82-
macosxSupport.py # Help IDLE run on Macs (nim).
55+
help_about.py # Display About IDLE dialog.
56+
history.py # Get previous or next user input in shell (nim)
57+
hyperparser.py # Parse code around a given index.
58+
iomenu.py # Open, read, and write files
59+
macosx.py # Help IDLE run on Macs (nim).
60+
mainmenu.py # Define most of IDLE menu.
61+
multicall.py # Wrap tk widget to allow multiple calls per event (nim).
62+
outwin.py # Create window for grep output.
63+
paragraph.py # Re-wrap multiline strings and comments.
64+
parenmatch.py # Match fenceposts: (), [], and {}.
65+
pathbrowser.py # Create path browser window.
66+
percolator.py # Manage delegator stack (nim).
67+
pyparse.py # Give information on code indentation
68+
pyshell.py # Start IDLE, manage shell, complete editor window
69+
redirector.py # Intercept widget subcommands (for percolator) (nim).
70+
replace.py # Search and replace pattern in text.
8371
rpc.py # Commuicate between idle and user processes (nim).
72+
rstrip.py # Strip trailing whitespace.
8473
run.py # Manage user code execution subprocess.
74+
runscript.py # Check and run user code.
75+
scrolledlist.py # Define scrolledlist widget for IDLE (nim).
76+
search.py # Search for pattern in text.
77+
searchbase.py # Define base for search, replace, and grep dialogs.
78+
searchengine.py # Define engine for all 3 search dialogs.
79+
stackviewer.py # View stack after exception.
80+
statusbar.py # Define status bar for windows (nim).
8581
tabbedpages.py # Define tabbed pages widget (nim).
86-
textView.py # Define read-only text widget (nim).
82+
textview.py # Define read-only text widget (nim).
83+
tree.py # Define tree widger, used in browsers (nim).
84+
undo.py # Manage undo stack.
85+
windows.py # Manage window list and define listed top level.
86+
zoomheight.py # Zoom window to full height of screen.
8787

8888
Configuration
8989
-------------
@@ -104,126 +104,128 @@ help.html # copy of idle.html in docs, displayed by IDLE Help
104104

105105
Subdirectories
106106
--------------
107-
Icons # small image files
108-
idle_test # files for human test and automated unit tests
107+
Icons # small image files
108+
idle_test # files for human test and automated unit tests
109109

110110
Unused and Deprecated files and objects (nim)
111111
---------------------------------------------
112-
EditorWindow.py: Helpdialog and helpDialog
113-
ToolTip.py: unused.
114-
help.txt
115-
idlever.py
112+
tooltip.py # unused
113+
116114

117115

118116
IDLE MENUS
119-
Top level items and most submenu items are defined in Bindings.
117+
Top level items and most submenu items are defined in mainmenu.
120118
Extenstions add submenu items when active. The names given are
121119
found, quoted, in one of these modules, paired with a '<<pseudoevent>>'.
122120
Each pseudoevent is bound to an event handler. Some event handlers
123121
call another function that does the actual work. The annotations below
124122
are intended to at least give the module where the actual work is done.
123+
'eEW' = editor.EditorWindow
125124

126-
File # IOBindig except as noted
127-
New File
128-
Open... # IOBinding.open
129-
Open Module
125+
File
126+
New File # eEW.new_callback
127+
Open... # iomenu.open
128+
Open Module # eEw.open_module
130129
Recent Files
131-
Class Browser # Class Browser
132-
Path Browser # Path Browser
130+
Class Browser # eEW.open_class_browser, browser.ClassBrowser
131+
Path Browser # eEW.open_path_browser, pathbrowser
133132
---
134-
Save # IDBinding.save
135-
Save As... # IOBinding.save_as
136-
Save Copy As... # IOBindling.save_a_copy
133+
Save # iomenu.save
134+
Save As... # iomenu.save_as
135+
Save Copy As... # iomenu.save_a_copy
137136
---
138-
Print Window # IOBinding.print_window
137+
Print Window # iomenu.print_window
139138
---
140-
Close
141-
Exit
139+
Close # eEW.close_event
140+
Exit # flist.close_all_callback (bound in eEW)
142141

143142
Edit
144-
Undo # undoDelegator
145-
Redo # undoDelegator
146-
---
147-
Cut
148-
Copy
149-
Paste
150-
Select All
151-
--- # Next 5 items use SearchEngine; dialogs use SearchDialogBase
152-
Find # Search Dialog
153-
Find Again
154-
Find Selection
155-
Find in Files... # GrepDialog
156-
Replace... # ReplaceDialog
157-
Go to Line
158-
Show Completions # AutoComplete extension and AutoCompleteWidow (&HP)
159-
Expand Word # AutoExpand extension
160-
Show call tip # Calltips extension and CalltipWindow (& Hyperparser)
161-
Show surrounding parens # ParenMatch (& Hyperparser)
162-
163-
Shell # PyShell
164-
View Last Restart # PyShell.?
165-
Restart Shell # PyShell.?
143+
Undo # undodelegator
144+
Redo # undodelegator
145+
--- # eEW.right_menu_event
146+
Cut # eEW.cut
147+
Copy # eEW.copy
148+
Paste # eEW.past
149+
Select All # eEW.select_all (+ see eEW.remove_selection)
150+
--- # Next 5 items use searchengine; dialogs use searchbase
151+
Find # eEW.find_event, search.SearchDialog.find
152+
Find Again # eEW.find_again_event, sSD.find_again
153+
Find Selection # eEW.find_selection_event, sSD.find_selection
154+
Find in Files... # eEW.find_in_files_event, grep
155+
Replace... # eEW.replace_event, replace.ReplaceDialog.replace
156+
Go to Line # eEW.goto_line_event
157+
Show Completions # autocomplete extension and autocompleteWidow (&HP)
158+
Expand Word # autoexpand extension
159+
Show call tip # Calltips extension and CalltipWindow (& Hyperparser)
160+
Show surrounding parens # parenmatch (& Hyperparser)
161+
162+
Shell # pyshell
163+
View Last Restart# pyshell.?
164+
Restart Shell # pyshell.?
166165

167166
Debug (Shell only)
168167
Go to File/Line
169-
Debugger # Debugger, RemoteDebugger
170-
Stack Viewer # StackViewer
171-
Auto-open Stack Viewer # StackViewer
168+
debugger # debugger, debugger_r
169+
Stack Viewer # stackviewer
170+
Auto-open Stack Viewer # stackviewer
172171

173172
Format (Editor only)
174-
Indent Region
175-
Dedent Region
176-
Comment Out Region
177-
Uncomment Region
178-
Tabify Region
179-
Untabify Region
180-
Toggle Tabs
181-
New Indent Width
182-
Format Paragraph # FormatParagraph extension
173+
Indent Region # eEW.indent_region_event
174+
Dedent Region # eEW.dedent_region_event
175+
Comment Out Reg. # eEW.comment_region_event
176+
Uncomment Region # eEW.uncomment_region_event
177+
Tabify Region # eEW.tabify_region_event
178+
Untabify Region # eEW.untabify_region_event
179+
Toggle Tabs # eEW.toggle_tabs_event
180+
New Indent Width # eEW.change_indentwidth_event
181+
Format Paragraph # paragraph extension
183182
---
184-
Strip tailing whitespace # RstripExtension extension
183+
Strip tailing whitespace # rstrip extension
185184

186185
Run (Editor only)
187-
Python Shell # PyShell
186+
Python Shell # pyshell
188187
---
189-
Check Module # ScriptBinding
190-
Run Module # ScriptBinding
188+
Check Module # runscript
189+
Run Module # runscript
191190

192191
Options
193-
Configure IDLE # configDialog
192+
Configure IDLE # eEW.config_dialog, configdialog
194193
(tabs in the dialog)
195-
Font tab # onfig-main.def
196-
Highlight tab # configSectionNameDialog, config-highlight.def
197-
Keys tab # keybindingDialog, configSectionNameDialog, onfig-keus.def
198-
General tab # configHelpSourceEdit, config-main.def
199-
Configure Extensions # configDialog
200-
Xyz tab # xyz.py, config-extensions.def
194+
Font tab # config-main.def
195+
Highlight tab # config_sec, config-highlight.def
196+
Keys tab # config_key, configconfig_secg-keus.def
197+
General tab # config_help, config-main.def
198+
Extensions tab # config-extensions.def, corresponding .py
201199
---
202-
Code Context (editor only) # CodeContext extension
200+
Code Context (ed)# codecontext extension
203201

204202
Window
205-
Zoomheight # ZoomHeight extension
203+
Zoomheight # zoomheight extension
206204
---
207-
<open windows> # WindowList
205+
<open windows> # windows
208206

209207
Help
210-
About IDLE # aboutDialog
208+
About IDLE # eEW.about_dialog, help_about.AboutDialog
211209
---
212-
IDLE Help # help
213-
Python Doc
214-
Turtle Demo
210+
IDLE Help # eEW.help_dialog, helpshow_idlehelp
211+
Python Doc # eEW.python_docs
212+
Turtle Demo # eEW.open_turtle_demo
215213
---
216214
<other help sources>
217215

218216
<Context Menu> (right click)
219-
Defined in EditorWindow, PyShell, Output
220-
Cut
221-
Copy
222-
Paste
223-
---
224-
Go to file/line (shell and output only)
225-
Set Breakpoint (editor only)
226-
Clear Breakpoint (editor only)
227-
Defined in Debugger
228-
Go to source line
229-
Show stack frame
217+
Defined in editor, PyShelpyshellut
218+
Cut
219+
Copy
220+
Paste
221+
---
222+
Go to file/line (shell and output only)
223+
Set Breakpoint (editor only)
224+
Clear Breakpoint (editor only)
225+
Defined in debugger
226+
Go to source line
227+
Show stack frame
228+
229+
<No menu>
230+
Center Insert # eEW.center_insert_event
231+

0 commit comments

Comments
 (0)