Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#15 Improved Run Command + HTML Browser

closed
nobody
5
2007-04-12
2005-11-26
No

If you set the option to save-before-run you cannot run
a read-only file because the save is done before the
test to see whether it has been modified.

If the save option is not set you get a confusing error
message and a potentially dangerous action if you
decide not to save.

If you attempt to run while editing an HTML file it is
treated as though it were a python script.

When editing an HTML help page there is no easy way of
displaying it to see what it looks like.

This patch corrects these problems.

Discussion

  • Zip file contains the patch, drHtmlBrowser.py and note.html

     
    Attachments
  • Logged In: YES
    user_id=190543

    Christian, could you add a complete copy of drpython.py to
    your zip file instead of just the patch. For those of us on
    Windows, it's perhaps not easy to make use of the patch file.

    Also in your note.html file, you mention a change to the
    drToolBarFile.py file, but that file is not included in your
    zip file.

     
  • Logged In: YES
    user_id=187309

    The patch file is not too difficult to read and the
    relatively small changes can be made by hand. I have
    attached an HTML file containing the source code and
    comments in a more readablke form. Please note that the
    drHtmlBrowser.py contains a correction necessary for it to
    work properly pn Windows.

     
    • labels: --> Widget (example)
    • status: open --> closed
     
  • Logged In: YES
    user_id=772872
    Originator: NO

    thanks, applied to drPython 165.