Need a feature to reload text file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyRoom |
New
|
Undecided
|
Unassigned |
Bug Description
In some cases, I edit the text files in two different editor (pyroom and VI). I do want to reload the content from disk.
VI for editing macro and some basic txt2tags formation.
pyroom will help me writing something.
I did a reload feature in my local copy, it just work, I didn't polish it. Here is my changes.
def load_buffer(self):
""" reload file = close and open """
#Close current buffer
)
if os.path.
try:
except OSError:
if len(self.buffers) > 1:
# open last closed file