Fix selected text highlight in TextEdit.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Wed, 7 Mar 2012 07:42:49 +0000 (17:42 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 7 Mar 2012 23:41:06 +0000 (00:41 +0100)
commit5d0f90d480924c75fd4120b90efd5501307bee0b
tree09880ef1a4f06d48a470af5bf8cd95f9aa0e2f43
parent70966df1be02dd94ecf9a122ff9e4976245aeb92
Fix selected text highlight in TextEdit.

The call to QQuickTextNode::addTextDocument() omitted the anchor
color argument meaning every subsquent argument was off by one and
the selection end was always the default of -1.

Change-Id: Iac3165e7aa95a3db935a19e54144d3967a3e6e38
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquicktextedit.cpp