aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot/data/text/textedit_multiparagraph_selected.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/textedit_multiparagraph_selected.qml')
-rw-r--r--tests/manual/scenegraph_lancelot/data/text/textedit_multiparagraph_selected.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/textedit_multiparagraph_selected.qml b/tests/manual/scenegraph_lancelot/data/text/textedit_multiparagraph_selected.qml
new file mode 100644
index 0000000000..5bd327453e
--- /dev/null
+++ b/tests/manual/scenegraph_lancelot/data/text/textedit_multiparagraph_selected.qml
@@ -0,0 +1,20 @@
+import QtQuick 2.0
+
+Item {
+ width: 320
+ height: 480
+
+ TextEdit {
+ id: textEdit
+ anchors.centerIn: parent
+ font.family: "Arial"
+ font.pixelSize: 20
+ textFormat: Text.RichText
+ text: "<p>First line</p><p>Second line</p><p>Third line</p><p>Fourth line</p>"
+
+ Component.onCompleted: {
+ textEdit.select(18, 26)
+ }
+ }
+
+}