Deleting .idea
Almost got undo history working just how I want it.
Got current line position to stay when clicking on diff.
Made scrolling almost perfectly line up.
Some minor fixes, everything should work now.