Author Topic: Undo/Redo and cursor movement  (Read 939 times)

pdebonte

  • Community Member
  • Posts: 43
  • Hero Points: 1
Undo/Redo and cursor movement
« on: July 02, 2010, 06:22:53 pm »
Shouldn't there be some option that allows undo to work like the de facto standard Windows undo, that ignores cursor movement? (def_undo_with_cursor doesn't help). I found at least two threads requesting this:

http://community.slickedit.com/index.php?topic=2253.msg9438#msg9438 - debating this
http://community.slickedit.com/index.php?topic=41.msg368#msg368 - Improved VI Emulation

Proposal that merges the above two requests: how about leaving undo and undo_cursor as is, and modifying vi_undo to ignore cursor movements?  It wouldn't be the first place where the vi emulation is ironically more similar to Windows than SlickEdit's CUA mode (e.g. prev/next-word vs vi-prev/next-word).

Thanks! :)
-Pete

P.S. - I have a stronger argument for this in shenguhan's thread about redo: http://community.slickedit.com/index.php?topic=5448.msg25775#msg25775
« Last Edit: July 06, 2010, 03:08:25 pm by pdebonte »

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: Undo/Redo and cursor movement
« Reply #1 on: July 04, 2010, 06:13:52 pm »
Another thread about Undo/Redo and cursor movement:
http://community.slickedit.com/index.php?topic=5448.0 - moving cursor discards the redo stack, diminishing the usability of redo

There's another relatively recent thread that is eluding my Searches, but it discusses how undo/redo in CUA seems to still act like emacs and do something that I don't know the name for and don't really know how to describe because as a CUA user it makes no sense to me.  It basically multiplies the times that something is in the undo/redo stack based on how many times you undo/redo it.  CUA mode should not do that.

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: Undo/Redo and cursor movement
« Reply #2 on: July 07, 2010, 05:49:06 pm »
Just for completeness, here's that other thread I couldn't find:  http://community.slickedit.com/index.php?topic=5837.msg24286#msg24286.