Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

No more character by character undo #1606

Closed

Description

@benogle

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

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

Activity

  1. mcolyer commented on Feb 27, 2014

    @mcolyer
    Contributor

    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.

  2. philidem commented on Jul 13, 2014

    @philidem

    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.

  3. lallmon commented on Jul 18, 2014

    @lallmon

    👍 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.

  4. pickerflicker commented on Jul 18, 2014

    @pickerflicker

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

  5. irunatbullets commented on Aug 10, 2014

    @irunatbullets

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

  6. tjpalmer commented on Aug 15, 2014

    @tjpalmer

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

  7. irisli commented on Aug 19, 2014

    @irisli

    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.

  8. kevinansfield commented on Sep 18, 2014

    @kevinansfield

    Bump.

    Is this being worked on at all?

  9. kevinsawicki commented on Sep 18, 2014

    @kevinsawicki
    Contributor

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

  10. bean5 commented on Oct 9, 2014

    @bean5

    I am kind of surprised this wasn't built before. Do you use atom to write atom? For a second 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.

  11. j-em commented on Oct 29, 2014

    @j-em
    Contributor

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

  12. bean5 commented on Oct 30, 2014

    @bean5

    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.

  13. bean5 commented on Oct 30, 2014

    @bean5

    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.

  14. mark-hahn commented on Oct 30, 2014

    @mark-hahn
    Contributor

    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 [email protected] 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).

  15. jtrinklein commented on Oct 30, 2014

    @jtrinklein

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

  16. mark-hahn commented on Oct 30, 2014

    @mark-hahn
    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 [email protected]
    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).

  17. benogle commented on Nov 6, 2014

    @benogle
    ContributorAuthor

    This is being implemented in #4071

  18. removed their assignment
    on Nov 13, 2014
  19. lock commented on Jan 25, 2019

    @lock

    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!

  20. locked as resolved and limited conversation to collaborators on Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions