]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151674: Add tkinter Text.edit_canundo() and Text.edit_canredo() (GH-151676)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 20 Jun 2026 06:39:09 +0000 (09:39 +0300)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 06:39:09 +0000 (09:39 +0300)
commitaa5b164577b325b785207c7d0440fb29d22f6c7d
tree5ab4f87d782d5306f9ae8f6543e1b56c4b7fbfbd
parenta9db5cb52fefffc8fcdddc8e1c5f23222970825a
gh-151674: Add tkinter Text.edit_canundo() and Text.edit_canredo() (GH-151676)

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

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Doc/library/tkinter.rst
Doc/whatsnew/3.16.rst
Lib/test/test_tkinter/test_text.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2026-06-19-12-00-00.gh-issue-151674.FCYTvs.rst [new file with mode: 0644]