Cudatext: Undo/redo for multi-carets edition should be in 1 step, not in many steps

Created on 29 Mar 2021  路  12Comments  路  Source: Alexey-T/CudaText

like in ST3. Todo.

enhancement can be closed

All 12 comments

beta updated for this.

Testing with 100 carets, sometimes CT is frozen:
MultiCaretFreeze

it is 'chain reaction of pauses', thanks for info, will try to fix it.

Jairo, beta updated.

Sometimes after write whatever pressing Ctrl+z (Undo) CT loses all carets:
MultiCaretLostCarets

Jairo, thanks. I has the repro, and fixed. new beta in 10 minutes

I appreciate when you increase the version number for the beta versions, is easily for me download and don't need to validate the server time when you upload a new version. Maybe you can use also the last digit to counter the numbers of beta builds, again in order to see easily for us test the correct new release.

Testing last version...

I am getting the same result in _cudatext-win-x64-1.129.8.0_ but at the end Alex this situation doesn't happens if I write as a "normal" user, with respective pauses, so I think we can survive using it as is.

what I have fixed: repro:

  • new tab
  • enter 20 new lines "dd"
  • ctrl+shift+click to put column of carets
  • type "ee" in all multi-carets
  • undo
    --> reverted to 1 caret. now it reverts to multi-carets

try to find new repro please.

Sure Alex,

With my escenarios, the problem happens after this steps

  • type "ee" in all multi-carets
  • undo

The "issue" occurs after replicate these two steps many times, write quickly and press undo, write again so quickly, press again undo an so on. In one of these replications the issue appears and the undo shows just one caret.

yes, I repeated it. thanks.

seems I fixed it, beta updated. let's find more issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

charliewales picture charliewales  路  4Comments

Alexey-T picture Alexey-T  路  5Comments

junguler picture junguler  路  5Comments

xcme picture xcme  路  5Comments

Alexey-T picture Alexey-T  路  7Comments