Hi,

I don't know who is doing all the good work of the undo-branche,
but I was  wondering...

I've made my patch for cut/copy/past working for the undo branche.

I use a copy of the note_map of a pattern.

Every edit action is really a change of the whole pattern.

So I thought why not simply store copies of the note_map and restore 
them when doing a undo.

In this way not every action has to have it's own undo/redo function.

So why is this not chosen?
Is it because of the memory use?
I must say I don't know how much a note_map uses.

Greetings,
Dave


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to