]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.C
LFUN_UNICODE_INSERT - unicode-insert
[lyx.git] / src / lyxfind.C
index 60892d632049e718b7d18a39fc45b4b929a9aa9f..8e547a9aaf5da339b721e1699cc8a1ac02da30fb 100644 (file)
@@ -184,7 +184,7 @@ int replaceAll(BufferView * bv,
                pos_type pos = cur.pos();
                LyXFont const font
                        = cur.paragraph().getFontSettings(buf.params(), pos);
-               int striked = ssize - cur.paragraph().erase(pos, pos + ssize,
+               int striked = ssize - cur.paragraph().eraseChars(pos, pos + ssize,
                                                            buf.params().trackChanges);
                cur.paragraph().insert(pos, from_utf8(replacestr), font,
                                       Change(buf.params().trackChanges ?