[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread miss-islington
miss-islington added the comment: New changeset 3d11630ff401cfcdf094cf039cb575332ecaea20 by Miss Islington (bot) in branch '3.6': bpo-21474: Update IDLE word/identifier definition from ascii to unicode. (GH-6643)

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the help. My immediate goal for IDLE is to fix unicode problems, to the extent allowed by tk, before 3.7.0. -- keywords: -patch nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread miss-islington
miss-islington added the comment: New changeset 887b5f8fc622267e1fd48862ea9d0dfd4a0abdc6 by Miss Islington (bot) in branch '3.7': bpo-21474: Update IDLE word/identifier definition from ascii to unicode. (GH-6643)

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Do we still need this line in fixwordbreaks? Yes. Loading word.tcl sets tcl_wordchars and tcl_nonwordchars. We should ensure that word.tcl is loaded and these variables are set before we change them. --

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +6345 ___ Python tracker ___

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +6344 stage: commit review -> patch review ___ Python tracker

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5ff3a161c8a6b525c5e5b3e36e9c43f5a95bda60 by Terry Jan Reedy in branch 'master': bpo-21474: Update IDLE word/identifier definition from ascii to unicode. (GH-6643)

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-30 Thread Terry J. Reedy
Terry J. Reedy 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

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2018-04-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +6341 stage: needs patch -> patch review ___ Python tracker ___

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +easy stage: test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21474 ___

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Deleting the function and calls to it would be easy. But my memory, which could be off, is that I left fixwordbreaks(root) in the test function now called _editor_window (at the end of the file) because the test did not work right without it. I willhave to

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: word.tcl in Tcl library contains following lines: if {$::tcl_platform(platform) eq windows} { # Windows style - any but a unicode space char set ::tcl_wordchars {\S} set ::tcl_nonwordchars {\s} } else { # Motif style - any unicode word char

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is enough to get rid of this function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21474 ___

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-11 Thread Terry J. Reedy
New submission from Terry J. Reedy: EditorWindow.py 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