aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_selected_long.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/textedit_multiline_selected_long.qml')
-rw-r--r--tests/manual/scenegraph_lancelot/data/text/textedit_multiline_selected_long.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_selected_long.qml b/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_selected_long.qml
new file mode 100644
index 0000000000..6cab2c4e79
--- /dev/null
+++ b/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_selected_long.qml
@@ -0,0 +1,21 @@
+import QtQuick 2.0
+
+Item {
+ width: 320
+ height: 480
+
+ TextEdit {
+ id: textEdit
+ anchors.centerIn: parent
+ font.family: "Arial"
+ font.pixelSize: 16
+ width: 200
+ wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
+ text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id diam vitae enim fringilla vestibulum. Pellentesque non leo justo, quis vestibulum augue"
+
+ Component.onCompleted: {
+ textEdit.select(50, 80)
+ }
+ }
+
+}