darrenburns, Does anyone know of heuristics that are used to decide exactly what gets undone when you "undo" in a text editor?
I'm currently batching edits by considering time since last edit, occurrence of any newline characters in replaced or inserted text, and a limit of the number of characters in a batch.
I wonder if there are any other reasonable heuristics that might improve UX that could be easy additions 🤔