Ignore:
Timestamp:
Apr 23, 2021, 9:02:12 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
7df863
Parents:
3b7834
git-author:
Frederik Heber <frederik.heber@…> (04/10/21 07:58:48)
git-committer:
Frederik Heber <frederik.heber@…> (04/23/21 21:02:12)
Message:

ActionHistory's marked states is now a stack.

  • i.e. multiple marks can be set and are removed when the history passes over them or when they are undone till that mark.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ActionHistory.hpp

    r3b7834 r7d2ee1  
    1515
    1616#include <deque>
     17#include <stack>
    1718
    1819#include "Actions/Action.hpp"
     
    5556
    5657  //!> marks a specific state in the history to allow undoing directly till that
    57   HistoryElement * mark;
     58  std::stack<HistoryElement *> marked;
    5859
    5960public:
Note: See TracChangeset for help on using the changeset viewer.