Ignore:
Timestamp:
Aug 13, 2025, 8:24:42 AM (3 months ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
780bfa
Parents:
1c355bf
git-author:
Frederik Heber <frederik.heber@…> (08/13/25 08:17:04)
git-committer:
Frederik Heber <frederik.heber@…> (08/13/25 08:24:42)
Message:

Splits off Undo mark actions.

  • Undo action has again no parameters (which is preferable to use in the GUI).
  • undo-mark is now alled set-undo-mark (with parameter telling whether to set or unset the mark).
  • undo-till-mark is now a separate action.
  • adapted userguide accordingly.
  • TESTS: adapted regression tests.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/Actions/CommandAction/UndoAction.def

    r1c355bf rbcc29ca  
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1414// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    15 #define paramtypes (bool)
    16 #define paramtokens ("till-mark")
    17 #define paramdescriptions ("whether to undo just a single step (false) or until a previously set mark (true)")
    18 #define paramdefaults (PARAM_DEFAULT(false))
    19 #define paramreferences (undoTillMark)
    20 #define paramvalids (DummyValidator<bool>())
     15#undef paramtypes
     16#undef paramreferences
     17#undef paramtokens
     18#undef paramdescriptions
     19#undef paramdefaults
    2120
    2221// some defines for all the names, you may use ACTION, STATE and PARAMS
     
    2827
    2928// finally the information stored in the ActionTrait specialization
    30 #define DESCRIPTION "undo last action or until a given mark"
     29#define DESCRIPTION "undo last action"
    3130#undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.