Tk Source Code

Artifact [e95a7d5a]
Login

Artifact e95a7d5a49d8bf292fb698f3da39740096e384f234afcc542eb5b706cfc28a9d:

Ticket change [e95a7d5a] - Ticket [a1795648] Tk 8.6: prevent issues when encountering non-BMP Unicode characters status still Open with 4 other changes by marc_culler 2020-05-23 19:09:56.
D 2020-05-23T19:09:56.264
J icomment I\shave\swritten\sa\sprototype\simplementation\sof\sglyph-based\sindexing.\s\sIt\sis\r\nin\sa\sbranch\soff\sof\s8.7\scalled\r\n[https://core.tcl-lang.org/tk/timeline?r=glyph_indexing&c=2020-05-23+16%3A51%3A27|glyph_indexing].\r\n\r\nIt\sadds\sonly\sa\ssmall\samount\sof\scode\sto\stkEntry.c\sand\s400\slines\sof\sreusable\scode\sin\stkMacOSXFont.c\s(half\sof\swhich\sare\scomments)\sthat\simplement\sa\sTextManager\sobject.\s(Well,\sthis\sis\sC,\sso\sit\sis\ssimilar\sto\san\sobject.)\sThe\sTextManager\sleverages\sthe\sNSMutableString\sclass\sto\shandle\sthe\swork\sof\sfinding\sgrapheme\sclusters\sin\sa\sunicode\sstring.\s\sThe\sinterface\sto\sthe\sTextManager\sis\sspecified\sby\sC\sdeclarations\sin\stkInt.h.\s\sThere\sis\sa\sconditional\scompilation\sswitch\sUSE_GLYPH_INDEXING\swhich\sa\splatform\scan\suse\sto\ssay\swhether\sit\sprovides\san\simplementation\sof\sTextManager.
J login marc_culler
J mimetype text/x-fossil-wiki
J username Marc\sCuller
K a1795648260f658aae9c1209c4f35a5bcb5b684d
U marc_culler
Z 1380235f95c3e46308af59b5437d9e50