Searched refs:active_snapshot_time (Results 1 – 3 of 3) sorted by relevance
226 void save(size_t active_snapshot_time, size_t current_time) { in save() argument227 assert(m_history.empty() || m_history.back().end() <= active_snapshot_time || in save()230 if (m_history.empty() || m_history.back().end() < active_snapshot_time) in save()231 m_history.emplace_back(active_snapshot_time, current_time + 1); in save()411 assert(m_history.empty() || m_history.back().end() <= active_snapshot_time); in try_save_timestamp()413 if (m_history.back().end() < active_snapshot_time) in try_save_timestamp()417 assert(m_history.back().end() == active_snapshot_time); in try_save_timestamp()428 assert(m_history.empty() || m_history.back().end() <= active_snapshot_time); in save()429 if (m_history.empty() || m_history.back().end() < active_snapshot_time) { in save()438 assert(m_history.back().end() == active_snapshot_time); in save()[all …]
128 size_t active_snapshot_time() const;
4500 const size_t active_snapshot_time = this->undo_redo_stack().active_snapshot_time(); in get_active_snapshot_index() local4502 … it = std::lower_bound(ss_stack.begin(), ss_stack.end(), UndoRedo::Snapshot(active_snapshot_time)); in get_active_snapshot_index()4548 …hots.begin(), snapshots.end(), UndoRedo::Snapshot(this->undo_redo_stack().active_snapshot_time())); in undo()4556 …hots.begin(), snapshots.end(), UndoRedo::Snapshot(this->undo_redo_stack().active_snapshot_time())); in redo()4626 if (it_snapshot->timestamp < this->undo_redo_stack().active_snapshot_time() ? in undo_redo_to()