]> git.cworth.org Git - sup/commit
Added UndoManager class
authorMike Stipicevic <stipim@rpi.edu>
Mon, 16 Feb 2009 05:39:50 +0000 (00:39 -0500)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 16 Mar 2009 11:59:59 +0000 (07:59 -0400)
commit60922033349317bb6276ea928829bf0870c5b48a
treeab52b1c0750be2448dc7a90ef6f6b9efd80cec64
parent3dcf6860246aa95e26cc7654bd253b78a467f889
Added UndoManager class

The UndoManager keeps a list of lambdas that undo actions. It's designed to be used by keypress hooks. It is initialized in the main sup thread along with UpdateManager, etc.
lib/sup.rb
lib/sup/modes/thread-index-mode.rb
lib/sup/undo.rb [new file with mode: 0644]