[ python-Feature Requests-1175686 ] add "reload" function

SourceForge.net noreply at sourceforge.net
Tue Apr 19 00:48:08 CEST 2005


Feature Requests item #1175686, was opened at 2005-04-03 03:48
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1175686&group_id=5470

Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: paul rubin (phr)
>Assigned to: Kurt B. Kaiser (kbk)
Summary: add "reload" function

Initial Comment:
The file menu in Editor windows could benefit from a
"reload" function that re-reads the file from disc and
loads it into the editor, replacing what's currently in
the editor.  That's useful for those of us who like to
edit with Emacs in another window while running the
code under Idle.  To get really fancy, it might be cool
to optionally display a diff between the in-editor
version and the on-disk version allowing merging
changes, but that's maybe over the top.

Other editors usually do have commands like this,
e.g.M-x Revert-file in Emacs or ":e!" in vi.

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-04-18 17:48

Message:
Logged In: YES 
user_id=80475

If added, it should definitely be called "revert" instead of
"reload".  The latter already has a specific meaning in
Python that relates to imports.  The former seems to be
standard terminology across a number of editing tools from
emacs to photoshop.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1175686&group_id=5470


More information about the Python-bugs-list mailing list