X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.cpp;h=8406c77193f9a632be8acc58fa326c953aedac44;hb=36dbec45069bf3d9db923200835e44f44d904eb8;hp=34ecff40a15f207f63412901c2ccf7273587b46f;hpb=95146d3cf911230ee6c810e22d0243f83ce977a3;p=features.git diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 34ecff40a1..8406c77193 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -208,6 +208,7 @@ int replace(BufferView * bv, docstring const & searchstr, cap::replaceSelectionWithString(cur, replacestr, fw); bv->buffer().markDirty(); find(bv, searchstr, cs, mw, fw, false); + bv->buffer().updateMacros(); bv->processUpdateFlags(Update::Force | Update::FitCursor); return 1;