8000 No more character by character undo · Issue #1606 · atom/atom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

No more character by character undo #1606

Closed
benogle opened this issue Feb 27, 2014 · 19 comments · Fixed by #4071
Closed

No more character by character undo #1606

benogle opened this issue Feb 27, 2014 · 19 comments · Fixed by #4071

Comments

@benogle
Copy link
Contributor
benogle commented Feb 27, 2014

https://twitter.com/gnb/status/439155269432774657

Use a debouncer or something. SImilar to the way content-edited event works.

@mcolyer
Copy link
Contributor
mcolyer commented Feb 27, 2014

atom/vim-mode#55

From a slightly different perspective, it would be nice if breaking the undo up was controllable. In vim's case it groups all characters typed in insert mode into a single undo transaction.

@philidem
Copy link

I'm hoping that this enhancement request will be getting more attention. I'm putting up with the character-by-character undo but it annoys me every time.

@lallmon
Copy link
lallmon commented Jul 18, 2014

👍 Is this a thing that can be implemented? The single character undo is not the expected functionality for most text editing, unless you are in say, VIM mode.

@pickerflicker
Copy link

Agreed! This is a bit of a deal breaker. I hope it gets resolved soon.

@irunatbullets
Copy link

I'm looking forward to this being fixed, it reminds me of early Sublime Text.

@c2c533c4f237
Copy link

Dealbreaker for me as well. I'll keep checking in.

@tjpalmer
Copy link

I'm just now trying out Atom, and this is a HUGE bother.

@irisli
Copy link
irisli commented Aug 19, 2014

Every time I start using atom for it's other awesome features (such as the good markdown preview), the undo function makes go back to Sublime. I would even pay money for a bounty to have this implemented either natively or as a plugin.

@kevinansfield
Copy link

Bump.

Is this being worked on at all?

@kevinsawicki
Copy link
Contributor

@kevinansfield Not being worked on currently, but it is planned to be included in Atom 1.0

@benogle benogle mentioned this issue Sep 30, 2014
25 tasks
@bean5
Copy link
bean5 commented Oct 9, 2014

I am kind of surprised this wasn't built before. Do you use atom to write atom? For a second 8000 I was thinking that perhaps this was done on purpose because everyone uses git, so if they want to undo quickly, they can just checkout the file again...but I do between commit undoes and it appears that others still do as well.

@j-em
Copy link
Contributor
j-em commented Oct 29, 2014

Any (small) guidelines/ideas about how this should be implemented ?

@bean5
Copy link
bean5 commented Oct 30, 2014

Well, besides being able to do it, it should be able to apply for find-replaces and therefore work across all files.

When it just comes to typing in one file, I think most algorithms have some kind of timer that starts when typing stops. It resets if typing starts again before the timer hits 0--but if any mouse action occurs, timer hits 0. All these characters are batched together and effectively regarded as one action. If you want to get fancy, you could start it off at some generic timing, but have an ML algorithm learn how fast the typist typically is and restrict the timer down to that time plus some percentage...but that is probably overly fancy and prone to issues and maintainability complexities. A simple timer will probably work fine.

@bean5
Copy link
bean5 commented Oct 30, 2014

Similar to vim, you could batch everything that is not saved or since the last activation of a tab...would be "simple" but would require timestamps for events such as opening of a tab. Just throwing ideas out there.

@mark-hahn
Copy link
Contributor
mark-hahn 8000 commented Oct 30, 2014

I think it would be sufficient to just consider typing or deleting text a
special case and group only those characters together. Can anyone think of
another annoying situation?

On Wed, Oct 29, 2014 at 6:43 PM, Bean notifications@github.com wrote:

Similar to vim, you could batch everything that is not saved or since the
last activation of a tab...would be "simple" but would require timestamps
for events such as opening of a tab. Just throwing ideas out there.


Reply to this email directly or view it on GitHub
#1606 (comment).

@jtrinklein
Copy link

What about batching changes between pauses, as in when changes start, wait for (an adjustable) pause in editing, then batch changes.

@mark-hahn
Copy link
Contributor

wait for (an adjustable) pause in editing, then batch changes.

That would not work for me. I often make a lot of big changes rapidly.

On Wed, Oct 29, 2014 at 6:52 PM, James Trinklein notifications@github.com
wrote:

What about batching changes between pauses, as in when changes start, wait
for (an adjustable) pause in editing, then batch changes.


Reply to this email directly or view it on GitHub
#1606 (comment).

@benogle
Copy link
Contributor Author
benogle commented Nov 6, 2014

This is being implemented in #4071

@lock
Copy link
lock bot commented Jan 25, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0