fix 2511: undoCount was not being honoured CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: src/text/ptbl/xp/pd_Document.cpp CVS: src/text/ptbl/xp/pt_PT_Undo.cpp CVS: src/wp/ap/xp/ap_EditMethods.cpp CVS: ----------------------------------------------------------------------
ap_EditMethods was calling fv_View->cmdUndo, which called down to pd_Document->cmdUndo, with a count argument telling it how many actions to undo. The document happily undid that many actions; unfortunately, sometimes the actions it undid were atomic, so that e.g. instead of undoing 10 actions, it undid 10 globs, making 15 actions. pat
