]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
BufferParams.cpp: fix bug 3568:
[lyx.git] / src / lyxfind.cpp
index f8001349279ebc76bd28c6f6803a1af4dfb31a00..1db6322b49889c2f4f1023140c53b04a8ab452f6 100644 (file)
 #include "lyxfind.h"
 
 #include "Buffer.h"
-#include "LCursor.h"
+#include "Cursor.h"
 #include "CutAndPaste.h"
 #include "buffer_funcs.h"
 #include "BufferView.h"
 #include "debug.h"
 #include "FuncRequest.h"
 #include "gettext.h"
-#include "LyXText.h"
+#include "Text.h"
 #include "Paragraph.h"
 #include "ParIterator.h"
 #include "Undo.h"
 
-#include "frontends/Alert.h"
+#include "frontends/alert.h"
 
 #include "support/convert.h"
 #include "support/docstream.h"
@@ -179,7 +179,7 @@ int replaceAll(BufferView * bv,
        DocIterator cur = doc_iterator_begin(buf.inset());
        while (findForward(cur, match)) {
                pos_type pos = cur.pos();
-               LyXFont const font
+               Font const font
                        = cur.paragraph().getFontSettings(buf.params(), pos);
                int striked = ssize - cur.paragraph().eraseChars(pos, pos + ssize,
                                                            buf.params().trackChanges);
@@ -224,7 +224,7 @@ int replace(BufferView * bv, docstring const & searchstr,
        if (!stringSelected(bv, searchstr, cs, mw, fw))
                return 0;
 
-       LCursor & cur = bv->cursor();
+       Cursor & cur = bv->cursor();
        cap::replaceSelectionWithString(cur, replacestr, fw);
        bv->buffer()->markDirty();
        find(bv, searchstr, cs, mw, fw);