Le 15 août 08 à 02:05, Jean-Marc Lasgouttes a écrit :
This patch implements an idea that has already been discussed before: undo
groups.

Here is a new iteration:

- fix bug when using a function handled by BuffeView::dispatch, like LFUN_UNDO %-]
  I wonder why I did not see it earlier...

- add debug information (to be removed later)

- remove use of recordUndoFullDocument for "replace all". As you can see, the change
  is quite trivial.

IMO the patch is already quite useful as it is (fixes minor bugs 1296 and 1408). Further work would be to remove remaining the 19 recordUndoFullDocument calls
(MathMacroTemplate is a big offender, I am not sure why).

JMarc

Attachment: undogroups2.diff
Description: Binary data

Reply via email to