Debian Codegraph @

tests/manual/scenegraph_lancelot/data/text/textedit_multiline_selected_linebreaks_and_linewraps2.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 550
5 height: 480
6
7 TextEdit {
8 id: textEdit
9 anchors.centerIn: parent
10 width: 550
11 textFormat: TextEdit.RichText
12 text: "A<br />
13 This is a long message to demenostrate a text selection issue. I need to type some more text here. This is line 3<br />
14 This is a long message to demenostrate a text selection issue. I need to type some more text here. This is line 4"
15 wrapMode: TextEdit.Wrap
16
17 Component.onCompleted: {
18 textEdit.selectAll()
19 }
20 }
21
22 }