Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1840

Suggestion for using a tree structure in Undo/Redo framework

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.4.0
    • Other
    • None

      The undo/redo framework uses a stack to store all steps.
      One good enhancement would be to have the possibility to store the steps
      into a tree.
      Vim 7 (http://www.vim.org) use a tree and this permits:

      • normal undo/redo
      • jump to a specific date

      The good point of an undo tree is that you never loose your changes (but
      costs more memory) even is you do some undo then modify the result.

      The full description of the undo mechanism of vim is available here:
      http://vimdoc.sourceforge.net/htmldoc/usr_32.html

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bdo Jo Asplin (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes