Skip to content

bpo-4630: Add cursor no-blink option for IDLE#16960

Merged
terryjreedy merged 10 commits into
python:masterfrom
ZackerySpytz:bpo-4630-idle-cursor-blink-option
Nov 13, 2019
Merged

bpo-4630: Add cursor no-blink option for IDLE#16960
terryjreedy merged 10 commits into
python:masterfrom
ZackerySpytz:bpo-4630-idle-cursor-blink-option

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented Oct 28, 2019

Copy link
Copy Markdown
Contributor

Add an option to toggle IDLE's cursor blink.

Co-Authored-By: Guilherme Polo ggpolo@gmail.com
Co-Authored-By: Roger Serwy roger.serwy@gmail.com

https://bugs.python.org/issue4630

Add an option to toggle IDLE's cursor blink.

Co-Authored-By: Guilherme Polo <ggpolo@gmail.com>
Co-Authored-By: Roger Serwy <roger.serwy@gmail.com>

@terryjreedy terryjreedy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for converting this overdue, overlooked patch. I realize that adjusting the 9-year-old code to the highly revised configdialog was very much not 'cut and paste'.

AFAICT, the code works and changes properly persist between sessions.

After the revisions, a new test should be added to test_configdialog. I expect to write but you can try if you want.

I want this merged in November for the December releases, so ping if I let this go more than a week after revision.

Comment thread Lib/idlelib/configdialog.py Outdated
Comment thread Lib/idlelib/configdialog.py Outdated
Comment thread Lib/idlelib/editor.py Outdated
Comment thread Lib/idlelib/editor.py Outdated
Comment thread Lib/idlelib/editor.py Outdated
@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@ZackerySpytz

Copy link
Copy Markdown
Contributor Author

Thank you, @terryjreedy, for the thorough review. I believe I have addressed all of
your comments.

I was unsure if the cursor-blink config option in config-main.def should be moved.

I have made the requested changes; please review again.

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@terryjreedy: please review the changes made to this pull request.

@ZackerySpytz

Copy link
Copy Markdown
Contributor Author

@terryjreedy Ping.

@terryjreedy terryjreedy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I noted on the issue, the original news item was not true, but the reduced claim is. Storing insertofftime on idleConf will make a 2nd patch much easier.

The new update_cursor_blink was tested manually, though a unittest should be added.

@terryjreedy terryjreedy changed the title bpo-4630: A cursor blink option for IDLE bpo-4630: Add cursor no-blink option for IDLE Nov 13, 2019
@terryjreedy terryjreedy merged commit 9c28449 into python:master Nov 13, 2019
@terryjreedy terryjreedy added needs backport to 3.8 type-feature A feature request or enhancement labels Nov 13, 2019
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ZackerySpytz for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ZackerySpytz for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-17141 is a backport of this pull request to the 3.8 branch.

@bedevere-bot

Copy link
Copy Markdown

GH-17142 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 13, 2019
This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
(cherry picked from commit 9c28449)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Nov 13, 2019
This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
(cherry picked from commit 9c28449)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Nov 13, 2019
This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
(cherry picked from commit 9c28449)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants