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

Add Interface to QTextDocument to add Undo Commands to previous stack

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.2
    • GUI: Text handling
    • None
    • All

    Description

      I would like my custom QSyntaxHighlighter to be able to change QTextBlockFormat properties such as indent, margins, line height, etc. The syntax highlighter can modify the Block Format fine through the QTextCursor interface, but this makes undo/redo not work. I would like an interface to QTextDocument to 'pause' undo, causing all new changes to be appended to the previous undo command stack.

      Attachments

        Issue Links

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              jgrauman Joshua Grauman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: