Tk Source Code

Check-in [2d3cc2e0]
Login

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

Overview
Comment:Merge nab-grapheme-wrap: break lines only at grapheme cluster boundaries; fix the grapheme, word and line boundary at the end of the text.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | revised_text | tip-466
Files: files | file ages | folders
SHA3-256: 2d3cc2e0ff5b87e28f42061f906f156c8083339e61ad1a8aa902fb4372236e78
User & Date: nab 2026-10-08 07:27:49.946
Context
2026-10-08
07:27
Document that a line is never broken inside a grapheme cluster. check-in: 2c4d12a0 user: nab tags: revised_text, tip-466
07:27
Merge nab-grapheme-wrap: break lines only at grapheme cluster boundaries; fix the grapheme, word and line boundary at the end of the text. check-in: 2d3cc2e0 user: nab tags: revised_text, tip-466
07:27
Merge nab-no-unibreak: remove the support of libunibreak and the option -useunibreak. check-in: df39da17 user: nab tags: revised_text, tip-466
06:41
Fix the grapheme, word and line boundary at the end of the text: it was before the last code point. Break lines only at grapheme cluster boundaries in TkTextCharLayoutProc (textDisp-44.1, 44.2). closed check-in: f491c155 user: nab tags: nab-grapheme-wrap
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkTextDisp.c.
Changes to generic/tkTextGrapheme.c.
Changes to tests/textDisp.test.