It often happens to me that I do some change in one place of the document, then edit some other part of the document, and finally realize that I want to undo the first change. For example, I am using Kate for programming a lot; I edit one function, then edit the main body of the program, and then realize that I want to go back to the original version of the function without undoing the changes in the main body. What I would like to do at that moment is this: 1) select the part of the program that contains the function, including several lines of unchanged text before and after the changed spot, 2) hit the undo button, which would undo the last change in the selected part (moving this particular change to the "redo" stack, and leaving the rest of the undo history - especially the parts relevant to other areas of the document - intact) Reproducible: Didn't try
Known wish, although it is not easy to implement this given our undo/redo stack. See bug #79496 for further info... Besides that: If you want to undo selected parts, you can do that with git based on the revisions in git as well (or graphically with git-cola). *** This bug has been marked as a duplicate of bug 79496 ***