Tk Source Code

Check-in [07716463]
Login

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

Overview
Comment:Merge elide0-insert-in-elided-range and elide-walk-skipped-lines (Serhiy Storchaka): fix [05411ee533] and [ad458a3a72] (tests btree-14.121 and 14.120). The tests of [bbaa3c1e5f] btree-14.120 and 14.121 become btree-14.125 and 14.126.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | revised_text | tip-466
Files: files | file ages | folders
SHA3-256: 07716463c0122e7ff888c7c1aa9c80a0293381d49c0f93e8ebee150daf00d55c
User & Date: nab 2026-10-13 19:54:51.857
References
2026-10-13
19:54 • Closed ticket [ad458a3a]: Sections consistency assertion fails when switching -elide in the revised text widget plus 4 other changes artifact: accecd43 user: nab
19:54 • Closed ticket [05411ee5]: Revised text: inserting text with an -elide 0 tag into an elided range fails an assertion plus 4 other changes artifact: 45f32572 user: nab
Context
2026-10-13
19:55
Merge nab-softhyphen-newline: fix [cddda7d44e], newline after a soft hyphen (tests btree-14.123 and 14.124). check-in: 5580484f user: nab tags: revised_text, tip-466
19:55
Fix [cddda7d44e]: after a soft hyphen, the tag information of the lines split by the insertion is recomputed from their segments instead of being derived from the tags of the soft hyphens. Tests btree-14.123 and 14.124. closed check-in: 76bc9f50 user: nab tags: nab-softhyphen-newline
19:54
Merge elide0-insert-in-elided-range and elide-walk-skipped-lines (Serhiy Storchaka): fix [05411ee533] and [ad458a3a72] (tests btree-14.121 and 14.120). The tests of [bbaa3c1e5f] btree-14.120 and 14.121 become btree-14.125 and 14.126. check-in: 07716463 user: nab tags: revised_text, tip-466
17:43
Merge nab-softhyphen-insert: fix [bbaa3c1e5f], inserting soft hyphens (tests btree-14.120 to 14.122). check-in: f4fe4eb7 user: nab tags: revised_text, tip-466
2026-10-10
12:13
Fix [05411ee533]: inserting text with an -elide 0 tag into an elided range failed an assertion. Such text is not elided: split the enclosing elided range as for untagged text. Test btree-14.121. closed check-in: a7fad206 user: serhiy.storchaka tags: elide0-insert-in-elided-range
11:35
Fix [ad458a3a72]: removing an elide tag from the end of a range elided together with an adjacent range of another tag left lines of that range elided without switches. When updating the elide information, skip a line without the changed tag only if its elide state is the current state. Test btree-14.120. closed check-in: 8d0c6903 user: serhiy.storchaka tags: elide-walk-skipped-lines
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkTextBTree.c.
Changes to tests/textBTree.test.