logic: Refactored undo redo stack
* Store MessageActivateTokens instead of original view messages * Renamed FeatureController to ActivationController * Remove all non-activation messages from undo redo stack after reindexing project * Added MessageShowReference to undo redo stack * Added MessageScrollGraph for restoring graph view scroll position * Fixed MessageGraphNodeMove not saved for bundles * Refactored tokenIds and nodeNames in SearchMatch and MessageActivateTokens * Refactored SearchController * Fixed file expansion on undoing/redoing after switching code view mode * Fixed redundant graph animation due to present qualifier nodes * Fixed no restoring of graph node expansion when showing overview in between
This commit is contained in:
@@ -9,6 +9,7 @@ class MessageBase
|
||||
public:
|
||||
MessageBase()
|
||||
: m_isReplayed(false)
|
||||
, m_isReplayCleared(false)
|
||||
, m_sendAsTask(true)
|
||||
, m_keepContent(false)
|
||||
, m_isLast(true)
|
||||
@@ -43,6 +44,16 @@ public:
|
||||
m_isReplayed = isReplayed;
|
||||
}
|
||||
|
||||
bool isReplayCleared() const
|
||||
{
|
||||
return m_isReplayCleared;
|
||||
}
|
||||
|
||||
void setIsReplayCleared(bool isReplayCleared)
|
||||
{
|
||||
m_isReplayCleared = isReplayCleared;
|
||||
}
|
||||
|
||||
bool isLast() const
|
||||
{
|
||||
return m_isLast;
|
||||
@@ -85,8 +96,11 @@ public:
|
||||
|
||||
private:
|
||||
bool m_isReplayed;
|
||||
bool m_isReplayCleared;
|
||||
|
||||
bool m_sendAsTask;
|
||||
bool m_keepContent;
|
||||
|
||||
bool m_isLast;
|
||||
bool m_isLogged;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user