Skip to content

Undo/redo ignores some steps (Redo must not group too many Redo-items in one step) #6027

@badrelmers

Description

@badrelmers

Hello,
undo/redo ignores some steps, here is a test case:

• open new page, click enter to create 100 line
• return to line 1 and write 111
• go to line 2 and write 222
• select 222 with the mouse and delete it
• go to line 90 and write 333

• now click undo until when you wrote 111
• now click redo redo....until the end and see how it jumps when you delete 222, it jumps directly to line 90, it should not do this, it should delete 222 and stop en the line deleted not jump to next step (line 90)

• this is important because when you have a lot of lines you want to see what happened in that redo step, but CudaText take you to next step so you have to remember the line and return to it to see what happened in that redo step, this is tedious cumbersome and time consuming, and this is not what the other editors do (like Notepad++ and VScode), here is two videos showing how it works now in Cudatext and Notepad++ (vscode works fine like notepad++)

CudaText.mp4
NPP.mp4

I used also "undo_grouped": false but it was worse, i have to click too much times in redo undo which is useless and very strange

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions