aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/text/textselection/textselection.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/text/textselection/textselection.qml')
-rw-r--r--examples/declarative/text/textselection/textselection.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/text/textselection/textselection.qml b/examples/declarative/text/textselection/textselection.qml
index a25d0df621..2e8268d8ee 100644
--- a/examples/declarative/text/textselection/textselection.qml
+++ b/examples/declarative/text/textselection/textselection.qml
@@ -95,6 +95,7 @@ Rectangle {
height: flick.height
focus: true
wrapMode: TextEdit.Wrap
+ textFormat: TextEdit.RichText
onCursorRectangleChanged: flick.ensureVisible(cursorRectangle)