A patch.txt 59d6d5f6c049c611f1528af0c4c989e6c48e5d15 8f9ba1404048b378750ee8d4c39b7976523acb6ec01ee2da8004b1a17d063327 C Here\sis\sthe\spure-Tcl\spatch,\sgenerated\sas\sa\sunified\sdiff\sagainst\s`library/text.tcl`\sfrom\sthe\sTk\strunk\s(commit\s8d193183).\sThe\slogic\sof\sthe\sPython\sfix\shas\sbeen\stransposed\sto\sthe\sright\splace:\srather\sthan\sre-binding\sall\smouse\sevents,\sit\sis\senough\sto\sfix\s`::tk::TextClosestGap`,\ssince\sthat\sis\swhat\sprovides\sthe\sboundary\sto\s`TextButton1`\s(anchor),\s`TextSelectTo`\s(drag),\s`TextPasteSelection`,\sand\sauto-scan.\sThe\sdefault\sbehavior\s(for\sunpointed\stext)\sis\sunchanged;\sonly\sthe\sboundary\sis\s"snapped"\sto\sthe\sedges\sof\sthe\sglyph\scluster\s(base\scharacter\s+\szero-width\scombining\smarks). D 2026-10-16T07:09:34.937 U anonymous Z e10384dc39f422291b8f60b5caa2f52c