[Aeditor-talk] Re: undo pattern

Simon Strandgaard neoneye at adslhome.dk
Wed Dec 24 00:07:29 EST 2003


On Wed, 2003-12-24 at 00:48, Wayne Rasmussen wrote:
> Some time ago you posted an article about this class and that you had
> some 110 line code to give as an example.  The link doesn't work
> anymore.  How could I get a chance to see this?  Is there an  updated
> link?

yes rubyforge has changed from using cvsweb to viewcvs.

The undo/redo/macro system of 110 lines of code, see 'history.rb', here:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/core/source/history.rb?rev=1.9&cvsroot=aeditor&content-type=text/vnd.viewcvs-markup


You can look at some of the other files for examples of usage.
For instance have a look at:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/core/source/commands_movement.rb?rev=1.5&cvsroot=aeditor&content-type=text/vnd.viewcvs-markup


If you want to try undo/redo/macros out, I suggest you try
downloading AEditor.  It depends on Ruby-1.8.0  and ruby-ncurses.
http://rubyforge.org/project/showfiles.php?group_id=18

Are you familiar with the Ruby programming language ?


BTW: happy christmas ;-)

--
Simon Strandgaard



More information about the Aeditor-talk mailing list