[epiphany] Fix text highlighting for initial search



commit 00414c3f3c8715db5cd59cc738d97066aff9b59a
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Sun Jul 28 17:16:09 2019 +0200

    Fix text highlighting for initial search
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/864

 embed/ephy-find-toolbar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-find-toolbar.c b/embed/ephy-find-toolbar.c
index c55208628..817734228 100644
--- a/embed/ephy-find-toolbar.c
+++ b/embed/ephy-find-toolbar.c
@@ -165,8 +165,8 @@ real_find (EphyFindToolbar   *toolbar,
   if (direction == EPHY_FIND_DIRECTION_PREV)
     options |= WEBKIT_FIND_OPTIONS_BACKWARDS;
 
-  webkit_find_controller_search (toolbar->controller, toolbar->find_string, options, G_MAXUINT);
   webkit_find_controller_count_matches (toolbar->controller, toolbar->find_string, options, G_MAXUINT);
+  webkit_find_controller_search (toolbar->controller, toolbar->find_string, options, G_MAXUINT);
 }
 
 static gboolean


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