internal void ExtractData(TextEditWidget <T> textEditWidget) { textEditWidget.m_TextWidget.Text = m_String; textEditWidget.m_CharIndexToInsertBefore = m_CharIndexToInsertBefore; textEditWidget.m_SelectionIndexToStartBefore = m_SelectionIndexToStartBefore; textEditWidget.m_Selecting = m_Selecting; }
internal UndoData(TextEditWidget <T> textEditWidget) { m_String = textEditWidget.m_TextWidget.Text; m_CharIndexToInsertBefore = textEditWidget.m_CharIndexToInsertBefore; m_SelectionIndexToStartBefore = textEditWidget.m_SelectionIndexToStartBefore; m_Selecting = textEditWidget.m_Selecting; }