Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Batch operation Fix #2132

Merged
merged 1 commit into from
Nov 16, 2012
Merged

Batch operation Fix #2132

merged 1 commit into from
Nov 16, 2012

Conversation

TomMalbran
Copy link
Contributor

This pull was suggested by @peterflynn in #2108 to fix the edition undo.

Right now there are only 3 functions that use batchOperation:

  1. Line comment
  2. Block comment
  3. Move line up/down

With this pull all 3 functions would work as before, passing all the tests too, and it will also fix the undo issues on both Block comment and Move line up/down, on the main editor.

I did some tests on the cmv3 branch and the undo issues were still there. I implemented this patch on that branch too and after testing, everything worked perfectly, solving the undo issues too.

@ghost ghost assigned peterflynn Nov 16, 2012
@peterflynn
Copy link
Member

Looks great, thanks Tomás!

I've run with this change for a while and not seen any issues, and all unit tests pass for me too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants