commit: 2511

From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Mon Apr 15 2002 - 03:17:34 EDT

  • Next message: Alberto 'JCN-9000' Varesio: "Re: 1.0 binaries, platform status."

    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



    This archive was generated by hypermail 2.1.4 : Mon Apr 15 2002 - 03:18:00 EDT