Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
447169f6
Commit
447169f6
authored
Oct 13, 2015
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Plain Diff
Merge with 3.4
parents
5a8bbc5f
93f3542a
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
154 additions
and
208 deletions
+154
-208
Doc/library/idle.rst
Doc/library/idle.rst
+10
-11
Lib/idlelib/Bindings.py
Lib/idlelib/Bindings.py
+0
-1
Lib/idlelib/EditorWindow.py
Lib/idlelib/EditorWindow.py
+0
-6
Lib/idlelib/configDialog.py
Lib/idlelib/configDialog.py
+131
-169
Lib/idlelib/help.html
Lib/idlelib/help.html
+11
-11
Lib/idlelib/idle_test/htest.py
Lib/idlelib/idle_test/htest.py
+2
-10
No files found.
Doc/library/idle.rst
View file @
447169f6
...
...
@@ -252,17 +252,16 @@ Options menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Configure IDLE
Open a configuration dialog. Fonts, indentation, keybindings, and color
themes may be altered. Startup Preferences may be set, and additional
help sources can be specified. Non-default user setting are saved in a
.idlerc directory in the user's home directory. Problems caused by bad user
configuration files are solved by editing or deleting one or more of the
files in .idlerc. On OS X, open the configuration dialog by selecting
Preferences in the application menu.
Configure Extensions
Open a configuration dialog for setting preferences for extensions
(discussed below). See note above about the location of user settings.
Open a configuration dialog and change preferences for the following:
fonts, indentation, keybindings, text color themes, startup windows and
size, additional help sources, and extensions (see below). On OS X,
open the configuration dialog by selecting Preferences in the application
menu. To use a new built-in color theme (IDLE Dark) with older IDLEs,
save it as a new custom theme.
Non-default user settings are saved in a .idlerc directory in the user's
home directory. Problems caused by bad user configuration files are solved
by editing or deleting one or more of the files in .idlerc.
Code Context (toggle)(Editor Window only)
Open a pane at the top of the edit window which shows the block context
...
...
Lib/idlelib/Bindings.py
View file @
447169f6
...
...
@@ -78,7 +78,6 @@ menudefs = [
]),
(
'options'
,
[
(
'Configure _IDLE'
,
'<<open-config-dialog>>'
),
(
'Configure _Extensions'
,
'<<open-config-extensions-dialog>>'
),
None
,
]),
(
'help'
,
[
...
...
Lib/idlelib/EditorWindow.py
View file @
447169f6
...
...
@@ -191,8 +191,6 @@ class EditorWindow(object):
text
.
bind
(
"<<python-docs>>"
,
self
.
python_docs
)
text
.
bind
(
"<<about-idle>>"
,
self
.
about_dialog
)
text
.
bind
(
"<<open-config-dialog>>"
,
self
.
config_dialog
)
text
.
bind
(
"<<open-config-extensions-dialog>>"
,
self
.
config_extensions_dialog
)
text
.
bind
(
"<<open-module>>"
,
self
.
open_module
)
text
.
bind
(
"<<do-nothing>>"
,
lambda
event
:
"break"
)
text
.
bind
(
"<<select-all>>"
,
self
.
select_all
)
...
...
@@ -514,10 +512,6 @@ class EditorWindow(object):
# Synchronize with macosxSupport.overrideRootMenu.config_dialog.
configDialog
.
ConfigDialog
(
self
.
top
,
'Settings'
)
def
config_extensions_dialog
(
self
,
event
=
None
):
"Handle Options 'Configure Extensions' event."
configDialog
.
ConfigExtensionsDialog
(
self
.
top
)
def
help_dialog
(
self
,
event
=
None
):
"Handle Help 'IDLE Help' event."
# Synchronize with macosxSupport.overrideRootMenu.help_dialog.
...
...
Lib/idlelib/configDialog.py
View file @
447169f6
This diff is collapsed.
Click to expand it.
Lib/idlelib/help.html
View file @
447169f6
...
...
@@ -266,16 +266,16 @@ access to locals and globals.</dd>
<h3>
25.5.1.7. Options menu (Shell and Editor)
<a
class=
"headerlink"
href=
"#options-menu-shell-and-editor"
title=
"Permalink to this headline"
>
¶
</a></h3>
<dl
class=
"docutils"
>
<dt>
Configure IDLE
</dt>
<dd>
Open a configuration dialog. Fonts, indentation, keybindings, and color
themes may be altered. Startup Preferences may be set, and additional
help sources can be specified. Non-default user setting are saved in a
.idlerc directory in the user
’
s home directory. Problems caused by bad user
configuration files are solved by editing or deleting one or more of the
files in .idlerc. On OS X, open the configuration dialog by selecting
Preferences in the application menu.
</dd>
<dt>
Configure Extensions
</dt>
<dd>
Open a configuration dialog for setting preferences for extensions
(discussed below). See note above about the location of user settings.
</dd>
<dd>
<p
class=
"first"
>
Open a configuration dialog and change preferences for the following:
fonts, indentation, keybindings, text color themes, startup windows and
size, additional help sources, and extensions (see below). On OS X,
open the configuration dialog by selecting Preferences in the application
menu. To use a new built-in color theme (IDLE Dark) with older IDLEs,
save it as a new custom theme.
</p>
<p
class=
"last"
>
Non-default user settings are saved in a .idlerc directory in the user
’
s
home directory. Problems caused by bad user configuration files are solved
by editing or deleting one or more of the files in .idlerc.
</p>
</dd>
<dt>
Code Context (toggle)(Editor Window only)
</dt>
<dd>
Open a pane at the top of the edit window which shows the block context
of the code which has scrolled above the top of the window.
</dd>
...
...
@@ -699,7 +699,7 @@ are currently:</p>
The Python Software Foundation is a non-profit corporation.
<a
href=
"https://www.python.org/psf/donations/"
>
Please donate.
</a>
<br
/>
Last updated on Oct
02
, 2015.
Last updated on Oct
13
, 2015.
<a
href=
"../bugs.html"
>
Found a bug
</a>
?
<br
/>
Created using
<a
href=
"http://sphinx.pocoo.org/"
>
Sphinx
</a>
1.2.3.
...
...
Lib/idlelib/idle_test/htest.py
View file @
447169f6
...
...
@@ -93,15 +93,6 @@ _class_browser_spec = {
"Double clicking on items prints a traceback for an exception "
"that is ignored."
}
ConfigExtensionsDialog_spec
=
{
'file'
:
'configDialog'
,
'kwds'
:
{
'title'
:
'Test Extension Configuration'
,
'_htest'
:
True
,},
'msg'
:
"IDLE extensions dialog.
\
n
"
"
\
n
[Ok] to close the dialog.[Apply] to apply the settings and "
"and [Cancel] to revert all changes.
\
n
Re-run the test to ensure "
"changes made have persisted."
}
_color_delegator_spec
=
{
'file'
:
'ColorDelegator'
,
...
...
@@ -121,7 +112,8 @@ ConfigDialog_spec = {
"font face of the text in the area below it.
\
n
In the "
"'Highlighting' tab, try different color schemes. Clicking "
"items in the sample program should update the choices above it."
"
\
n
In the 'Keys' and 'General' tab, test settings of interest."
"
\
n
In the 'Keys', 'General' and 'Extensions' tabs, test settings"
"of interest."
"
\
n
[Ok] to close the dialog.[Apply] to apply the settings and "
"and [Cancel] to revert all changes.
\
n
Re-run the test to ensure "
"changes made have persisted."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment