Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }