Terry J. Reedy <tjre...@udel.edu> added the comment: Now-closed duplicate #33386 reported that μ, 0x3bc, is not selected as part of identifiers when double clicking. This prompted some research.
The 'Windows' style imitates the behavior of Command Prompt, which I presume is a carryover from DOS days. PowerShell stuck with it, but Notepad, Notepad++, Microsoft Word, Firefox, Thunderbird, and ??? have not. I think Tcl should have switched long ago. In any case, I will go with whatever the tcl re engine defines as word chars, the 'Motif' style', rather than attempt to write a giant re, which would have to change as characters are added. Do we still need this line in fixwordbreaks? tk.call('tcl_wordBreakAfter', 'a b', 0) # make sure word.tcl is loaded I will leave it until you say we don't. After patching, 'abcμμμdef' ('0x3bc'*3) is selected as one word instead of word, nonword, word. 'abc+efg' is still selected in 3 pieces, instead of the 1 word seen by Command Prompt. ---------- keywords: -patch stage: patch review -> commit review _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue21474> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com