#53 patch for saving/restoring sessions

TK Soh

This is a patch for NEdit to provide the capability
to save current session and restore it later. With it,
you can save what you are doing, close NEdit and go
home, then return to where you left off (most of it)
the next morning.

In addition, the states of a file will be saved before
its window is closed, which will be restored the next
time the file is opened (when a session is restored, or
by simply opening the file as normal). This recent-file
feature is independent of the session records, and may
be viewed as an extension to the original "previous
file" menu of NEdit.

(see README in the diff package for more)


<< < 1 2 (Page 2 of 2)
  • Scott Tringali

    Scott Tringali - 2003-12-29

    Logged In: YES

    How does this integrate with the current session saving
    code? Is it a replacement, or a second implementation? I'm
    leary of having two separate implementations. If this is a
    better implementation then perhaps the old implementaton
    should be discarded.

  • TK Soh

    TK Soh - 2003-12-30

    Logged In: YES

    It's fundamentally a second implementation. But the version
    I'm updating allows users the option to restore the last
    session when starting nedit again. Personally, I find the
    current session saving feature isn't as useful in practice.

  • Scott Tringali

    Scott Tringali - 2005-04-07

    Logged In: YES

    OK, the duplicate name confused me a for a bit. So this
    more like a project file.

    It seems to me that you could build checkpointing
    (traditional sessions) on top of this? To checkpoint, you
    can probably just save the project file. Does this mean we
    can throw away some redundant code?

  • TK Soh

    TK Soh - 2005-04-08

    Logged In: YES

    I borrowed the word 'session' from DDD, I supposed 'project'
    is the better word.

    The patch actually does checkpointing (which I casually
    named it as 'recent-file'), a feature that I personally find
    to be more useful than project management.

    What redundant code you are refering to?

<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks