IM_ASSERT(callback_data.BufTextLen==(int)strlen(callback_data.Buf));// You need to maintain BufTextLen if you change the text!
IM_ASSERT(callback_data.BufTextLen==(int)strlen(callback_data.Buf));// You need to maintain BufTextLen if you change the text!
InputTextReconcileUndoStateAfterUserCallback(state,callback_data.Buf,callback_data.BufTextLen);// FIXME: Move the rest of this block inside function and rename to InputTextReconcileStateAfterUserCallback() ?
InputTextReconcileUndoStateAfterUserCallback(state,callback_data.Buf,callback_data.BufTextLen);// FIXME: Move the rest of this block inside function and rename to InputTextReconcileStateAfterUserCallback() ?