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

QTextDocument::contentsChange not emitted when content is changed with QTextCursor.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • 4.8.x
    • 4.7.0
    • None
    • OSX Cocoa build

    Description

      QTextDocument* doc = ...
      QTextCursor cursor(doc);
      cursor.insertText("it's a trap"); // BUG: doc does not emit the contentsChange signal.

      I've attached a project that reproduces this problem.

      Attachments

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

        Activity

          People

            smd Jan Arve
            alexk Alex Karpenko
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes