Another cool thing about undo in Emacs is that it's context aware.
By default, you can select any block of text and the undo command will cycle through the changes only from that region of your buffer.
By default, you can select any block of text and the undo command will cycle through the changes only from that region of your buffer.
does it understand syntax boundaries like curly braces / functions? ('undo within function' would be key). or just line #?
For eg, see https://www.johndcook.com/blog/2017/08/09/selecting-things-i...