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

QTextEdit disable the undo/redo without clearing the history

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • GUI: Text handling
    • None

      QTextEdit should provide the possibility to disable the undo/redo functionality without clearing the undo/redo history. This would be useful when creating functionality where it’s needed to highlight lines in QTextEdit to improve readability (e.g. debugger/IDE editor). If the highlighting is done using QTextBlockFormat it will currently be added to the undo/redo history, confusing the real edit operations.

        For Gerrit Dashboard: QTBUG-26894
        # Subject Branch Project Status CR V

            Unassigned Unassigned
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change