aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextedit/data/qtbug-38947.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktextedit/data/qtbug-38947.qml')
-rw-r--r--tests/auto/quick/qquicktextedit/data/qtbug-38947.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextedit/data/qtbug-38947.qml b/tests/auto/quick/qquicktextedit/data/qtbug-38947.qml
new file mode 100644
index 0000000000..ebf8080e69
--- /dev/null
+++ b/tests/auto/quick/qquicktextedit/data/qtbug-38947.qml
@@ -0,0 +1,16 @@
+import QtQuick 2.0
+
+Item {
+ height: 200
+ width: 200
+ TextEdit {
+ objectName: "textedit"
+ text: "Hello\nWorld!"
+ selectByMouse: true
+ cursorDelegate: Rectangle {
+ width: 10
+ color: "transparent"
+ border.color: "red"
+ }
+ }
+}