Usually when doing the normal undo it will undo all code changes since you went into insert-mode (for me it's evil-undo). I was wondering if it were possible to implement a function that will only undo the line your cursor is currently hovering over in elisp, if so pointers to the necessary information as a resource would be invaluable..
If not I was wondering why as the undo redo logs must be accessible?