undoing is slow
It freezes if you hold down ctrl+z
I was unable to reproduce this issue. I created 100+ lines of code in a 300 line python document and held ctrl+z and no significant delay was observed. Perhaps you could expand on your issue to help me understand what went wrong for you?
https://user-images.githubusercontent.com/18505570/130614439-dd24eb89-56a2-4a1f-b5b5-7dbed5f9c79b.mp4
As you can see, as I'm holding down Ctrl+Z, it freezes for a few seconds until it actually gets all changes undone.
This might be caused by the change tracking or by the syntax highlighting plugin. You can disable the plugin in Porcupine's plugin manager, and you can comment out something in textutils.py to disable the change tracking.
I've never seen that before 😕.