diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/textedit_selected_space_at_eol.qml')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/text/textedit_selected_space_at_eol.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/textedit_selected_space_at_eol.qml b/tests/manual/scenegraph_lancelot/data/text/textedit_selected_space_at_eol.qml new file mode 100644 index 0000000000..a07b8da625 --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/text/textedit_selected_space_at_eol.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: 16 + textFormat: Text.RichText + text: "Lorem <br />Ipsum (space should be selected)" + + Component.onCompleted: { + textEdit.select(5, 6) + } + } + +} |