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)
...
@@ -252,17 +252,16 @@ Options menu (Shell and Editor)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Configure IDLE
Configure IDLE
Open a configuration dialog. Fonts, indentation, keybindings, and color
Open a configuration dialog and change preferences for the following:
themes may be altered. Startup Preferences may be set, and additional
fonts, indentation, keybindings, text color themes, startup windows and
help sources can be specified. Non-default user setting are saved in a
size, additional help sources, and extensions (see below). On OS X,
.idlerc directory in the user's home directory. Problems caused by bad user
open the configuration dialog by selecting Preferences in the application
configuration files are solved by editing or deleting one or more of the
menu. To use a new built-in color theme (IDLE Dark) with older IDLEs,
files in .idlerc. On OS X, open the configuration dialog by selecting
save it as a new custom theme.
Preferences in the application menu.
Non-default user settings are saved in a .idlerc directory in the user's
Configure Extensions
home directory. Problems caused by bad user configuration files are solved
Open a configuration dialog for setting preferences for extensions
by editing or deleting one or more of the files in .idlerc.
(discussed below). See note above about the location of user settings.
Code Context (toggle)(Editor Window only)
Code Context (toggle)(Editor Window only)
Open a pane at the top of the edit window which shows the block context
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 = [
...
@@ -78,7 +78,6 @@ menudefs = [
]),
]),
(
'options'
,
[
(
'options'
,
[
(
'Configure _IDLE'
,
'<<open-config-dialog>>'
),
(
'Configure _IDLE'
,
'<<open-config-dialog>>'
),
(
'Configure _Extensions'
,
'<<open-config-extensions-dialog>>'
),
None
,
None
,
]),
]),
(
'help'
,
[
(
'help'
,
[
...
...
Lib/idlelib/EditorWindow.py
View file @
447169f6
...
@@ -191,8 +191,6 @@ class EditorWindow(object):
...
@@ -191,8 +191,6 @@ class EditorWindow(object):
text
.
bind
(
"<<python-docs>>"
,
self
.
python_docs
)
text
.
bind
(
"<<python-docs>>"
,
self
.
python_docs
)
text
.
bind
(
"<<about-idle>>"
,
self
.
about_dialog
)
text
.
bind
(
"<<about-idle>>"
,
self
.
about_dialog
)
text
.
bind
(
"<<open-config-dialog>>"
,
self
.
config_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
(
"<<open-module>>"
,
self
.
open_module
)
text
.
bind
(
"<<do-nothing>>"
,
lambda
event
:
"break"
)
text
.
bind
(
"<<do-nothing>>"
,
lambda
event
:
"break"
)
text
.
bind
(
"<<select-all>>"
,
self
.
select_all
)
text
.
bind
(
"<<select-all>>"
,
self
.
select_all
)
...
@@ -514,10 +512,6 @@ class EditorWindow(object):
...
@@ -514,10 +512,6 @@ class EditorWindow(object):
# Synchronize with macosxSupport.overrideRootMenu.config_dialog.
# Synchronize with macosxSupport.overrideRootMenu.config_dialog.
configDialog
.
ConfigDialog
(
self
.
top
,
'Settings'
)
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
):
def
help_dialog
(
self
,
event
=
None
):
"Handle Help 'IDLE Help' event."
"Handle Help 'IDLE Help' event."
# Synchronize with macosxSupport.overrideRootMenu.help_dialog.
# 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>
...
@@ -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>
<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"
>
<dl
class=
"docutils"
>
<dt>
Configure IDLE
</dt>
<dt>
Configure IDLE
</dt>
<dd>
Open a configuration dialog. Fonts, indentation, keybindings, and color
<dd>
<p
class=
"first"
>
Open a configuration dialog and change preferences for the following:
themes may be altered. Startup Preferences may be set, and additional
fonts, indentation, keybindings, text color themes, startup windows and
help sources can be specified. Non-default user setting are saved in a
size, additional help sources, and extensions (see below). On OS X,
.idlerc directory in the user
’
s home directory. Problems caused by bad user
open the configuration dialog by selecting Preferences in the application
configuration files are solved by editing or deleting one or more of the
menu. To use a new built-in color theme (IDLE Dark) with older IDLEs,
files in .idlerc. On OS X, open the configuration dialog by selecting
save it as a new custom theme.
</p>
Preferences in the application menu.
</dd>
<p
class=
"last"
>
Non-default user settings are saved in a .idlerc directory in the user
’
s
<dt>
Configure Extensions
</dt>
home directory. Problems caused by bad user configuration files are solved
<dd>
Open a configuration dialog for setting preferences for extensions
by editing or deleting one or more of the files in .idlerc.
</p>
(discussed below). See note above about the location of user settings.
</dd>
</dd>
<dt>
Code Context (toggle)(Editor Window only)
</dt>
<dt>
Code Context (toggle)(Editor Window only)
</dt>
<dd>
Open a pane at the top of the edit window which shows the block context
<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>
of the code which has scrolled above the top of the window.
</dd>
...
@@ -699,7 +699,7 @@ are currently:</p>
...
@@ -699,7 +699,7 @@ are currently:</p>
The Python Software Foundation is a non-profit corporation.
The Python Software Foundation is a non-profit corporation.
<a
href=
"https://www.python.org/psf/donations/"
>
Please donate.
</a>
<a
href=
"https://www.python.org/psf/donations/"
>
Please donate.
</a>
<br
/>
<br
/>
Last updated on Oct
02
, 2015.
Last updated on Oct
13
, 2015.
<a
href=
"../bugs.html"
>
Found a bug
</a>
?
<a
href=
"../bugs.html"
>
Found a bug
</a>
?
<br
/>
<br
/>
Created using
<a
href=
"http://sphinx.pocoo.org/"
>
Sphinx
</a>
1.2.3.
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 = {
...
@@ -93,15 +93,6 @@ _class_browser_spec = {
"Double clicking on items prints a traceback for an exception "
"Double clicking on items prints a traceback for an exception "
"that is ignored."
"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
=
{
_color_delegator_spec
=
{
'file'
:
'ColorDelegator'
,
'file'
:
'ColorDelegator'
,
...
@@ -121,7 +112,8 @@ ConfigDialog_spec = {
...
@@ -121,7 +112,8 @@ ConfigDialog_spec = {
"font face of the text in the area below it.
\
n
In the "
"font face of the text in the area below it.
\
n
In the "
"'Highlighting' tab, try different color schemes. Clicking "
"'Highlighting' tab, try different color schemes. Clicking "
"items in the sample program should update the choices above it."
"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 "
"
\
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 "
"and [Cancel] to revert all changes.
\
n
Re-run the test to ensure "
"changes made have persisted."
"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