Closed seanpoulter closed 10 years ago
Sorry, but that wouldn't work since every change in the input panel would trigger another call of the insert_nums
command and your on_cancel
callback only undoes once.
Anyway, this has already been added in #2 and just awaits merge.
I clearly didn't test it that far to notice. Thank you very much for the explanation!
@seanpoulter thanks for your interest and taking the time to make a commit though! And don't worry about it, when I first to tackle the on_cancel
issue, I had the same problem.
A small update so the user can press Esc to cancel and undo the previewed changes.