Skip to content

gh-151674: Add tkinter Text.edit_canundo() and Text.edit_canredo()#151676

Merged
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-text-edit-canundo
Jun 20, 2026
Merged

gh-151674: Add tkinter Text.edit_canundo() and Text.edit_canredo()#151676
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:tkinter-text-edit-canundo

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 18, 2026

Copy link
Copy Markdown
Member

Wrap the Tk text widget "edit canundo" and "edit canredo" subcommands, which report whether the undo and redo stacks are non-empty.

@read-the-docs-community

read-the-docs-community Bot commented Jun 18, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33224175 | 📁 Comparing 34c2bbb against main (17720b1)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

Wrap the Tk text widget "edit canundo" and "edit canredo" subcommands,
which report whether the undo and redo stacks are non-empty.
@serhiy-storchaka serhiy-storchaka force-pushed the tkinter-text-edit-canundo branch from beee8e6 to 5fe26fb Compare June 18, 2026 21:44
serhiy-storchaka and others added 2 commits June 20, 2026 01:41
A second test_edit_undo_redo silently shadowed the earlier one, so its
edit_canundo()/edit_canredo() coverage was never run.  Rename it to
test_edit_canundo_canredo and move it next to the other edit tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@serhiy-storchaka serhiy-storchaka merged commit aa5b164 into python:main Jun 20, 2026
51 checks passed
@serhiy-storchaka serhiy-storchaka deleted the tkinter-text-edit-canundo branch June 20, 2026 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant