Issue1337987
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.
Created on 2005-10-26 02:12 by tyrell_rr, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (6) | |||
---|---|---|---|
msg26704 - (view) | Author: Deleted User tyrell_rr (tyrell_rr) | Date: 2005-10-26 02:12 | |
IDLE, F5 – wrong external file content on error. using: Python 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32 IDLE 1.0.5 , TK: 8.4 The basic problem is that when a external file is reloaded, by using F5, and that file contains a error. IDLE will tell about the error, and highlight the error, but its still using the old file content in its GUI window and not the newly reloaded file content. when: (IDLE GUI) - using F5 to reload and restart a external script. - new and changed script file containing a error. what: - display is showing previous script content. - error highlight is pointing at the wrong code. (bad!) how: first file: (create, load and execute) --- a = 1 print a --- change to: --- a = 1 print a : print a --- use F5 to auto reload and execute. Anything I'm doing wrong, or I can do locally to fix this?. just let me know. ps: upgrade to 2.4.x is not really a option in my case. (not yet at leased) Cheers M.v.Gulik |
|||
msg26705 - (view) | Author: Deleted User tyrell_rr (tyrell_rr) | Date: 2005-10-26 02:37 | |
Logged In: YES user_id=779309 huu, little update. the error itself is not part of the real (code)problem. ( it is of course when its leading to misleading debug info ) but the display of the external file in just not updated after using F5. with or without a error being triggerd. M.v.Gulik |
|||
msg26706 - (view) | Author: Raymond Hettinger (rhettinger) * | Date: 2005-10-26 02:45 | |
Logged In: YES user_id=80475 Save with Control-S before pressing F5. |
|||
msg26707 - (view) | Author: Deleted User tyrell_rr (tyrell_rr) | Date: 2005-10-28 09:46 | |
Logged In: YES user_id=779309 > Save with Control-S before pressing F5. Don't think that a good idee. This will save the initially loaded old file content inside IDLE over the new file content (external edited -> not using IDLE for editing) Effectingly undoing all the changes done with the external editor. M.v.Gulik. |
|||
msg26708 - (view) | Author: Kurt B. Kaiser (kbk) * | Date: 2005-11-15 05:54 | |
Logged In: YES user_id=149084 Duplicate of RFE 1175686. Please read the comments on that Tracker item. IDLE is intended to edit its own code. Apparently you are using an external editor. It's not a high priority for me to support that, since IDLE has one-keystroke save, load and run. The guy who submitted the RFE never came back with a use case; what's your use for this feature? IDLE would have to detect that the file had changed on disk. Not difficult, just not done right now. |
|||
msg26709 - (view) | Author: Deleted User tyrell_rr (tyrell_rr) | Date: 2005-11-27 01:50 | |
Logged In: YES user_id=779309 wow ... nevermind ... Bye bye. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:13 | admin | set | github: 42522 |
2005-10-26 02:12:16 | tyrell_rr | create |