Bug 310676 - undo within given section
Summary: undo within given section
Status: RESOLVED DUPLICATE of bug 79496
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.8.90
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-25 20:54 UTC by Ansa
Modified: 2012-11-26 07:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ansa 2012-11-25 20:54:44 UTC
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
Comment 1 Dominik Haumann 2012-11-26 07:38:04 UTC
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 ***