[issue14146] IDLE: source line in editor doesn't highlight when debugging

2015-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The workaround function added in this issue is replaced in #24972 with the Text widget inactiveselectbackground option. In the course of testing, I discovered that while the function still works, debugger source highlighting no longer does, at least not on

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2014-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Regardless of what I said in the previous message, highlighting of found text is NOT working in any current release -- 2.7.8, 3.3.5 (final release) and 3.4.1. Mark Lawrence opened #22179. I propose there to use the 'found' highlight, as used in the replace

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2014-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, wrong issue (should have been #17511). Debugger source line highlighting works fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146 ___

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears fixed for not, even if not the way we would like. Thanks. If a future tk changes, a new patch will be version-dependent and that will be a new issue. -- resolution: later - fixed status: pending - closed

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ae830ff6d64 by Roger Serwy in branch '2.7': #14146: Highlight source line while debugging on Windows. http://hg.python.org/cpython/rev/5ae830ff6d64 New changeset 3735b4e0fc7c by Roger Serwy in branch '3.3': #14146: Highlight source line while

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-20 Thread Roger Serwy
Roger Serwy added the comment: I committed the Tk workaround for the Windows platform. I'm leaving this issue as pending with a resolution of later in case Tk developers address the bug report mentioned in msg185632. If anyone else wishes to close it, feel free. -- resolution: -

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: It won't make it in 2.7.5. Benjamin tagged the 2.7.5 release a couple of days ago. I'll apply this later tonight. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: On second thought, I'll wait until after the releases so that Misc/NEWS gets populated properly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146 ___

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-12 Thread Roger Serwy
Roger Serwy added the comment: I'm waiting until after the next wave of maitenance releases before I apply this patch. If anyone feels strongly that it should be applied now, let me know. I applied the patch to the latest 2.7.4 64-bit release version of Python and it worked. --

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-12 Thread Todd Rovito
Todd Rovito added the comment: Roger, If you and Terry tested I would apply now so it makes it into 2.7.5. Why not? Right now the debugger in Windows doesn't highlight and I am sure that has to drive people crazy. But if you feel it needs more testing maybe you should let it bake some

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: 64 bit Win 7 with 32 bit debug build. Patch imported cleanly with all 3 branches. I cannot currently test 2.7. On 3.3 and 3.4, debugger worked fine relative to this issue: editor window highlight tracked line displayed in debugger as far as I checked. Normal

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-05-07 Thread Roger Serwy
Roger Serwy added the comment: I'm pinging this issue to see if anyone has had any problems with the Windows-specific workaround for highlighting the selection tags. Issue17511 depends on this fix. -- assignee: - roger.serwy ___ Python tracker

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-04-11 Thread Roger Serwy
Roger Serwy added the comment: Todd, thank you for being proactive with the Tcl/Tk community. Hopefully they will offer a fix in their next version. In the meanwhile, here's a patch that works around the problem on Windows. The purpose of getting the highlight configuration at each FocusOut

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-04-11 Thread Roger Serwy
Roger Serwy added the comment: I forgot to mention that the idea for replacing the sel tags is based on an idea from Sarah's patch from #17511. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-04-04 Thread Todd Rovito
Todd Rovito added the comment: I posted this message on tinter discuss email list: http://mail.python.org/pipermail/tkinter-discuss/2013-March/003415.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-31 Thread Todd Rovito
Todd Rovito added the comment: Roger, You are a genius! The example program duplicates the bug exactly. It works on Mac (I assume Linux but I will test on Linux) and it does not work on correctly on Windows. On Windows as soon as the text widget looses focus then the hi-light

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-31 Thread Todd Rovito
Todd Rovito added the comment: Bug report has been filed with Tk here: https://sourceforge.net/tracker/?func=detailaid=3609608group_id=12997atid=112997 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-30 Thread Todd Rovito
Todd Rovito added the comment: Here is a backtrace from PDB: - self.sync_source_line() /Volumes/SecurePython3/cpython/py34/Lib/idlelib/Debugger.py(211)sync_source_line() - self.flist.gotofileline(filename, lineno)

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-30 Thread Todd Rovito
Todd Rovito added the comment: I created a small test program trying to reproduce the problem on Windows 7, Python 3.4, and TK 8.6. Unfortunately it works fine and each line is highlighted as a user presses ctrl-B. I got the select code straight from IDLE. Any other ideas Roger? This

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-30 Thread Roger Serwy
Roger Serwy added the comment: It's definitely a bug with Tk. Whenever the Text widget loses focus, the selection highlighting goes away. The following example code brings up a focused text box with selected text. Clicking the button switches focus to the button itself and then back to the

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146 ___ ___ Python-bugs-list

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito
Todd Rovito added the comment: I was going to try Python 3.4 and TK 8.6 on Windows and see what happens. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146 ___

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito
Todd Rovito added the comment: I tried both TCL/TK 8.5.13 and TCL/TK 8.6 with the latest Python 3.4 on Windows 7 the editor window never showed a line as I stepped through the debugger. I am going to try in Mac/Linux to make sure I am not crazy that a line in the editor window does indicate

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito
Todd Rovito added the comment: Before I forget here are the general steps I followed to get TCL/TK 8.5.13 and 8.6 to work. For TCL/TK 8.6 I had to change the actual Visual Studio 2010 project. Generally you have to follow the steps in readme.txt located in PCBuild of the source tree.

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-29 Thread Todd Rovito
Todd Rovito added the comment: I have confirmed that Linux and Mac work great but Windows fails to highlight the current line in the editor window. Next I will try and find/file a bug with the TCL/TK folks. -- ___ Python tracker

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-09 Thread Roger Serwy
Roger Serwy added the comment: I think it's a problem on Tk on Windows. The painting of the selection highlight goes away when a window loses focus. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-09 Thread Dirk Zabel
Dirk Zabel added the comment: If this is a Tk problem on windows, are there any chances to get it fixed? The Tk version installed with python 3.3 seems to be 8.5.11, while there are newer Tk versions available on www.activestate.com (8.5.13 and 8.6.0). But I don't know how to connect a

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin, is there any way to test if tcl/tk 8.5.13 and/or 8.6.0 fix this windows-only tk issue? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #17382 as a duplicate of this. The OP, Dirk, only had problem on Windows xp, not on Ubuntu 3.2 and 3.3. I see the same problem on 3.3 win 7. Roger, do you think this is a windows, tkinter, or idle problem? -- versions: +Python 3.3, Python 3.4

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2012-03-02 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146 ___ ___ Python-bugs-list

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2012-02-28 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: Is the Source check box in the Debug Control window checked? -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14146 ___

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2012-02-28 Thread Rich Rauenzahn
Rich Rauenzahn rraue...@gmail.com added the comment: Yes, the source box was checkmarked. Not the first one to encounter this as well: http://python.6.n6.nabble.com/IDLE-not-highlighting-current-line-while-debugging-on-Win-td2113345.html -- ___

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2012-02-28 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: I am not seeing this problem under Ubuntu, but I do see this problem on Vista. It looks like the sel tags get hidden when a window loses focus under Windows. -- ___ Python tracker

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2012-02-27 Thread Rich Rauenzahn
New submission from Rich Rauenzahn rraue...@gmail.com: Using 64bit python for windows downloaded from python.org on 64bit windows 7. Python Version 3.2.2 Tk version 8.5 IDLE version 3.2.2 When stepping through code the corresponding line in the editor does not highlight with the code steps.