slint
slint copied to clipboard
TextInput: Add undo/redo support
trafficstars
#474
Olivier, do you have any preferences here?
I prefer using SharedVector
@Waqar144 Would you like me to take over to take care of the binding bits, or would you like to give it a try?
I had to change things quite a bit to make it work:
- added a
pop()method toSharedVector UndoItemis now a struct with aUndoItemKindfield, previously it was anenum. I had to change it because the old struct was non-trivial