Tk Source Code

Check-in [535c462d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merge nab-undo-inclusive (undo/redo bookkeeping and inclusive deletion fixes).
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | revised_text | tip-466
Files: files | file ages | folders
SHA3-256: 535c462d52f56b111705ff2f835d2478f4085fc21cea4feda462e4510833bf3d
User & Date: nab 2026-07-16 15:51:07.953
Original Comment: Merge nab-undo-inclusive (via nab-undo-inclusive-merge): 'edit info' crashed on the null undoTagList slot left by deleting a tag with a retained token; a new retained tag/mark token now expires the redo history immediately ('edit canredo' said yes while 'edit redo' silently did nothing); the mark boundaries of a multi-line inclusive deletion were silently kept alive (the cross-line index comparison dropped their segment anchor). Tests btree-14.112/113, text-27.46/47.
Context
2026-07-17
11:37
Merge nab-elide-walk-uaf (use-after-free fix in the elide update walk). check-in: 6f31f367 user: nab tags: revised_text, tip-466
11:32
Staging merge of nab-elide-walk-uaf. leaf check-in: 1832e9e0 user: nab tags: nab-elide-walk-uaf-merge
11:22
Fix use-after-free of the walked segment in UpdateElideInfo leaf check-in: 5c246a9b user: nab tags: nab-elide-walk-uaf
2026-07-16
15:51
Merge nab-undo-inclusive (undo/redo bookkeeping and inclusive deletion fixes). check-in: 535c462d user: nab tags: revised_text, tip-466
15:46
Staging merge of nab-undo-inclusive. leaf check-in: 9dd14d57 user: nab tags: nab-undo-inclusive-merge
13:55
Merge nab-preexistants (fixes for pre-existing text widget bugs). check-in: 9d34bdfd user: nab tags: revised_text, tip-466
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkText.c.
Changes to generic/tkTextIndex.c.
Changes to generic/tkTextMark.c.
Changes to generic/tkTextTag.c.
Changes to tests/text.test.
Changes to tests/textBTree.test.