diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-21 13:35:11 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-23 15:43:23 +0100 |
commit | 7fbd3cbdadb5bfb509b9bc396d949fe38a067072 (patch) | |
tree | 7d11120d4eb69aaa42039181d3b35a71b8ec0c9e /components/mailviewer/qml/HtmlContent.qml | |
parent | 46486a878310df55b686b8fbc2b6aaf35d613da7 (diff) | |
download | kube-7fbd3cbdadb5bfb509b9bc396d949fe38a067072.tar.gz kube-7fbd3cbdadb5bfb509b9bc396d949fe38a067072.zip |
Search in conversationview
...via syntax highligher or search api.
Diffstat (limited to 'components/mailviewer/qml/HtmlContent.qml')
-rw-r--r-- | components/mailviewer/qml/HtmlContent.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/mailviewer/qml/HtmlContent.qml b/components/mailviewer/qml/HtmlContent.qml index f0249a01..c775a3ca 100644 --- a/components/mailviewer/qml/HtmlContent.qml +++ b/components/mailviewer/qml/HtmlContent.qml | |||
@@ -27,7 +27,10 @@ Item { | |||
27 | property string content | 27 | property string content |
28 | //We have to give it a minimum size so the html content starts to expand | 28 | //We have to give it a minimum size so the html content starts to expand |
29 | property int contentHeight: 10; | 29 | property int contentHeight: 10; |
30 | 30 | property string searchString | |
31 | onSearchStringChanged: { | ||
32 | htmlView.findText(searchString) | ||
33 | } | ||
31 | 34 | ||
32 | WebEngineView { | 35 | WebEngineView { |
33 | id: htmlView | 36 | id: htmlView |