(root)
| 1686 | |
| 1687 | |
| 1688 | def fixwordbreaks(root): |
| 1689 | # On Windows, tcl/tk breaks 'words' only on spaces, as in Command Prompt. |
| 1690 | # We want Motif style everywhere. See #21474, msg218992 and followup. |
| 1691 | tk = root.tk |
| 1692 | tk.call('tcl_wordBreakAfter', 'a b', 0) # make sure word.tcl is loaded |
| 1693 | tk.call('set', 'tcl_wordchars', r'\w') |
| 1694 | tk.call('set', 'tcl_nonwordchars', r'\W') |
| 1695 | |
| 1696 | |
| 1697 | def _editor_window(parent): # htest # |
searching dependent graphs…