[evolution/gnome-3-30] [EWebView] Use case insensitive search when highlighting words in the body



commit 733a8aa8a4686eb56cf85e7c739899faa8e19d2f
Author: Milan Crha <mcrha redhat com>
Date:   Mon Nov 12 11:51:28 2018 +0100

    [EWebView] Use case insensitive search when highlighting words in the body

 src/e-util/e-web-view.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/e-util/e-web-view.c b/src/e-util/e-web-view.c
index 19a0c029c0..78b7ebc9af 100644
--- a/src/e-util/e-web-view.c
+++ b/src/e-util/e-web-view.c
@@ -483,7 +483,7 @@ web_view_update_document_highlights (EWebView *web_view)
                webkit_find_controller_search (
                        web_view->priv->find_controller,
                        link->data,
-                       WEBKIT_FIND_OPTIONS_NONE,
+                       WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE,
                        G_MAXUINT);
        }
 }
@@ -3083,7 +3083,7 @@ e_web_view_add_highlight (EWebView *web_view,
        webkit_find_controller_search (
                web_view->priv->find_controller,
                highlight,
-               WEBKIT_FIND_OPTIONS_NONE,
+               WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE,
                G_MAXUINT);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]