This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients serhiy.storchaka, terry.reedy
Date 2014-05-12.01:27:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Content has this function, applied to editor and shell windows, which is obsolete for Python3 and unicode identifiers.

def fixwordbreaks(root):
    # Make sure that Tk's double-click and next/previous word
    # operations use our definition of a word (i.e. an identifier)
    tk ='tcl_wordBreakAfter', 'a b', 0) # make sure word.tcl is loaded'set', 'tcl_wordchars', '[a-zA-Z0-9_]')'set', 'tcl_nonwordchars', '[^a-zA-Z0-9_]')

Double clicking selects a contiguous sequence of 'word' or 
'nonword' characters.
"Control-backspace deletes word left, Control-DEL deletes word right."
"Control-left/right Arrow moves by words in a strange but useful way."

It might be more useful if the REs were expanded.
Date User Action Args
2014-05-12 01:27:44terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2014-05-12 01:27:44terry.reedysetmessageid: <>
2014-05-12 01:27:43terry.reedylinkissue21474 messages
2014-05-12 01:27:43terry.reedycreate