Menu

#2432 New UndoHistory bug

Bug
closed-fixed
5
2024-03-09
2024-03-08
Zufu Liu
No

Original reported at https://github.com/rizonesoft/Notepad3/issues/5146, following steps reproduceable on SciTE:
1. open a file with at least 3 lines.
2. click margin to select line 1, press Tab twice.
3. click margin to select line 2, press Tab twice.
4. click "Undo" button 4 times.
5. click margin to select line 3, press Tab.
6. click "Undo" button.
7. click "Redo" button twice.

1 Attachments

Discussion

  • Zufu Liu

    Zufu Liu - 2024-03-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -Original reported at https://github.com/rizonesoft/Notepad3/issues/5146, following steps reprudecable on SciTE:
    +Original reported at https://github.com/rizonesoft/Notepad3/issues/5146, following steps reproduceable on SciTE:
     1. open a file with at least 3 lines.
     2. click margin to select line 1, press <kbd>Tab</kbd> twice.
     3. click margin to select line 2, press <kbd>Tab</kbd> twice.
    
     
  • Neil Hodgson

    Neil Hodgson - 2024-03-08
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2024-03-08

    The undo history wasn't truncated at step 5 where the insertion branched from the earlier actions.

    Committed fix as [f81029].

     

    Related

    Commit: [f81029]

  • Neil Hodgson

    Neil Hodgson - 2024-03-09
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.