summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativesmoothedfollow_p.h
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-07-09 17:48:01 (GMT)
committermae <qt-info@nokia.com>2010-07-09 18:00:47 (GMT)
commit6f6c25b61f6d83e86e93c5f82e2d699619d00d5e (patch)
tree89e136ceaa62995ded540729dbbd9eaa2c16ddf2 /src/declarative/util/qdeclarativesmoothedfollow_p.h
parent7201ba64bc001791f769038f1801502baf415a8e (diff)
downloadQt-6f6c25b61f6d83e86e93c5f82e2d699619d00d5e.zip
Qt-6f6c25b61f6d83e86e93c5f82e2d699619d00d5e.tar.gz
Qt-6f6c25b61f6d83e86e93c5f82e2d699619d00d5e.tar.bz2
Fix QTextDocument::markContentsDirty()
The function markContentsDirty(from,length) is documented to inform the document that it needs to lay out again the part from from to from + length. Trouble was that the function was implemented using beginEditBlock()/endEditBlock(), which has the negative side effect that it does increase the document's revision number and emits all sorts of contentChanged() signals. This did not matter from the one case where Qt uses the method itself in QSyntaxHighlighter, because here a private flag inContentsChange avoided the issue. Without the change, we cannot implement semantic syntax highlighting in creator without expensive extra selections or triggering a full rehighlight via QSyntaxHighlighter. Done-with: Roberto Raggi Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/declarative/util/qdeclarativesmoothedfollow_p.h')
0 files changed, 0 insertions, 0 deletions