public void Restore(EditorState state) { content = state.GetContent(); }
public void Push(EditorState state) { states.Add(state); }
public void Restore(EditorState state) { Content = state.Content; }