Bug 103021 - Kate idea: Undo within selection
Summary: Kate idea: Undo within selection
Status: RESOLVED DUPLICATE of bug 79496
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-01 19:08 UTC by Adrian Holovaty
Modified: 2006-07-25 22:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Holovaty 2005-04-01 19:08:29 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs

Here's something that would make Kate more useful: An "undo within selection" feature.

Basically, it'd allow a user to select text, hit "Undo within selection," and the undo would only affect the selected part of the text.

I'd use this feature a lot while editing code. Lots of times, I'll make a change to something toward the top of the document, then make a change to something at the bottom of the document, but then I'll want to undo the first change without undoing the second change. Currently, in this situation, I'll copy-and-paste the second change into a new document, then hit "Undo" several times in the original document until the original changes are undone, then copy-and-paste the second change from the new document back into the first document. That's quite laborious and error-prone. It would seem easiest, usability-wise, to be able to select the code at the top of my document and hit "Undo within selection."

I suspect this would be a popular feature -- and I can't think of any other text editor that has it. It'd be another way for Kate to prove it's the best editor around. :-)
Comment 1 Andreas Ramm 2005-04-09 08:11:34 UTC
Extending this idea, I think a list with possible undo actions would be even better. That way the user doesn't even have to select a region but can just undo whatever they didn't like. As an option the list could only contain entries for the selected text. Either way I think it's a great idea.
Comment 2 Andreas Kling 2006-07-25 22:15:55 UTC

*** This bug has been marked as a duplicate of 79496 ***