コード例 #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;
 }
コード例 #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;
 }