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
cca976b1
Commit
cca976b1
authored
Oct 10, 2007
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow cursor color change w/o restart. Patch 1725576 Tal Einat.
parent
68995867
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+2
-0
Lib/idlelib/configDialog.py
Lib/idlelib/configDialog.py
+3
-0
No files found.
Lib/idlelib/NEWS.txt
View file @
cca976b1
...
...
@@ -3,6 +3,8 @@ What's New in IDLE 2.6a1?
*Release date: XX-XXX-200X*
- Update cursor color without restarting. Patch 1725576 Tal Einat.
- Allow keyboard interrupt only when user code is executing in subprocess.
Patch 1225 Tal Einat (reworked from IDLE-Spoon).
...
...
Lib/idlelib/configDialog.py
View file @
cca976b1
...
...
@@ -1118,12 +1118,15 @@ class ConfigDialog(Toplevel):
def
ActivateConfigChanges
(
self
):
"Dynamically apply configuration changes"
winInstances
=
self
.
parent
.
instance_dict
.
keys
()
theme
=
idleConf
.
CurrentTheme
()
cursor_color
=
idleConf
.
GetHighlight
(
theme
,
'cursor'
,
fgBg
=
'fg'
)
for
instance
in
winInstances
:
instance
.
ResetColorizer
()
instance
.
ResetFont
()
instance
.
set_notabs_indentwidth
()
instance
.
ApplyKeybindings
()
instance
.
reset_help_menu_entries
()
instance
.
text
.
configure
(
insertbackground
=
cursor_color
)
def
Cancel
(
self
):
self
.
destroy
()
...
...
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