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

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

XMLWordPrintable

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

      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.

        1. test.zip
          2 kB
          Alex Karpenko
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes