commit 73ad885a43e756c8acf8ad83c34aaf645e32570e
Author: Scott Kostyshak <[email protected]>
Date:   Sat Apr 18 21:40:43 2015 -0400

    Update previews after doing a find/replace (#7242)
    
    This commit addresses #7242 for normal Find/Replace. That issue was
    fixed for Advanced Find at 29948eec.
    
    (cherry picked from commit 66f527e417de916105680696bd44d7ad91ff60cb)
    
    Added status.

diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index dfc6948..51e0db3 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -386,6 +386,7 @@ bool lyxreplace(BufferView * bv,
                else
                        bv->message(_("String not found."));
        }
+       bv->buffer().updatePreviews();
        return update;
 }
 
diff --git a/status.21x b/status.21x
index df32056..cc45469 100644
--- a/status.21x
+++ b/status.21x
@@ -179,6 +179,8 @@ What's new
 - Remove conflicting accelerator to "Master's perspective" in the
   View Source pane (bug 9495).
 
+- Update previews after find/replace (bug 7242).
+
 
 * INTERNALS
 

Reply via email to