Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The undo stack needs to store regions [$15] #101

Open
erbridge opened this issue May 1, 2016 · 0 comments
Open

The undo stack needs to store regions [$15] #101

erbridge opened this issue May 1, 2016 · 0 comments
Labels

Comments

@erbridge
Copy link
Contributor

erbridge commented May 1, 2016

Migrated from limetext/lime#211.

A view's associated regions need to be saved away in the undo-stack (or in edit objects perhaps).

For example, if I first load a file, then add a couple of regions, then delete the contents of the file. All regions will now have collapsed and merged into a single Region{0,0}, which is expected behavior.

Then I hit undo. I would now expect the regions to be what they were before I deleted the buffer contents, however what they will be instead is a single region covering the whole buffer.

--- There is a **[$15 open bounty](https://www.bountysource.com/issues/33624290-the-undo-stack-needs-to-store-regions?utm_campaign=plugin&utm_content=tracker%2F15716642&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15716642&utm_medium=issues&utm_source=github).
@erbridge erbridge changed the title The undo stack needs to store regions The undo stack needs to store regions [$15] May 1, 2016
@erbridge erbridge added the bounty label May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant