Hi, If enable `formatting`, in some operate -- backspace ??not delete?? any char, `action` will invoke after `valuechanged_cb`, and `new_value` in action would be wrong.
```lua local iup=require'iuplua' iup.dialog{ iup.text{ VALUE='123456789', EXPAND='HORIZONTAL', formatting='YES', action=function(Text,C,New_Value) print("action",New_Value,C) end,--action valuechanged_cb=function(Text) print("valuec",Text.VALUE) end,--valuechanged_cb } }:show() iup.MainLoop() ```
<<attachment: iup_text_format_action_valuechanged_cb_bug.gif>>
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users