source: src/Actions/CommandAction/UndoMarkAction.hpp@ 0ec9f5

Candidate_v1.7.0 stable
Last change on this file since 0ec9f5 was 0ec9f5, checked in by Frederik Heber <frederik.heber@…>, 5 years ago

Added UndoMarkAction.

NOTE: This action is necessary as not all actions are actually recorded
in the history. For example, the UndoAction is an action that is not
pushed into the history deque and also must not as further undos would
then become impossible. There are other actions that just do output
or similar things that do not change the state.
This makes it impossible to undo back to a certain state by blindly
counting actions as one cannot know from the outside whether an action
is stateless or not.

undoing till the set mark.

  • TESTS: added regression test case on undo-mark.
  • Property mode set to 100644
File size: 340 bytes
Line 
1/*
2 * UndoMarkAction.hpp
3 *
4 * Created on: Apr 06, 2021
5 * Author: heber
6 */
7
8#ifndef UNDOMARKACTION_HPP_
9#define UNDOMARKACTION_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include "Actions/Action.hpp"
18
19#include "UndoMarkAction.def"
20#include "Action_impl_header.hpp"
21
22#endif /* UNDOMARKACTION_HPP_ */
Note: See TracBrowser for help on using the repository browser.