| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
GH-152988 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
GH-152989 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
When the IDLE window is activated, detect whether the script has been modified by other editors. If modification exist, prompts whether to refresh the document. If Yes is selected, the document will be reloaded; if No is selected, the document status will be set to unsaved. The judgment is based on the last modified time of the file.
This feature help users avoid losing modifications made in other editors. If the file is not reloaded in IDLE (previously, it need to close and reopen script) after editing in other editors, do saving in IDLE will overwrite the changes made in other editors.
In another situation, if users do not want to keep modifications from other editors and need to overwrite the file content with the current state in IDLE, IDLE previously did not prompt that the file had been modified, and closing IDLE at this time would result in the loss of the current state in IDLE.
Screenshot: