Add tests for triple click text selection in TextEdit.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 28 Jun 2012 02:23:01 +0000 (12:23 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 4 Jul 2012 01:29:58 +0000 (03:29 +0200)
commitac9b09d4299bae22f6aa4b5423092167761d1c8d
tree265123cac1d566ebf0e1add144dd20ca4da70e9a
parent8c27b2ffebc7e8004113091de46b17ab455c8648
Add tests for triple click text selection in TextEdit.

Includes a minor behavioural fix for selectedText and getText so that
they return plain text strings for plain text content rather than the
raw text from QTextDocument which substitutes line break characters
with unicode line or paragraph separator character.  Rich text
documents still return the unicode characters.

Change-Id: I19a3a5bba2e4ebb0e6607e19c915a588a9a6c7db
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquicktextedit.cpp
tests/auto/quick/qquicktextedit/data/mouseselection_true.qml
tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp