Author Topic: Undo/history feature I'd love to see  (Read 3482 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Undo/history feature I'd love to see
« on: May 15, 2013, 06:24:43 PM »
1. Localized undo: Undo recent edits in this function only. Imagine I've been making lots of changes to a file and I need to undo the changes only to a selected area. The changes might be buried deeply in the undo history - but I don't want to undo everything, just the edits that affect a small area of the code. (This can be done sometimes with backup history if the file has been saved often enough, but it is really cumbersome).

2. I love to be able to select a small range of lines and then grab a slider to go back and forth in time on that area of code. I'd imagine that Slick could use the same techniques it uses for tracking bookmark locations as file contents change.

Doing this on the entire file would be good too ... the "Backup History" dialog is too cumbersome. Much better would be for it to control the contents of an edit buffer and let you quickly scroll back and forth in time. Optionally highlighting differences between versions.

Common questions I'm trying to answer when looking at file history: When did this variable (or any symbol) get created? When did this bit of logic get changed? When did some symbol get deleted?

Some of these can be answered by enhancing "Find" to search thru time, and some by making browsing thru time easier.

The range of time should include the current edit session undo history as well as the backup history and ideally, version control history.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7132
  • Hero Points: 544
Re: Undo/history feature I'd love to see
« Reply #1 on: May 16, 2013, 03:48:12 PM »
Eventually we will rewrite the undo implementation. Having a slider to go back and forth in time would be awesome (can't be done write now). I've seen this done before on the whole file which is likely the only way we could do it.