]> git.lyx.org Git - features.git/blobdiff - src/lyx_cb.C
IU stuff + shuffling things from BV::dispatch to LyXText::dispatch
[features.git] / src / lyx_cb.C
index 48ac377406df0ff2497807cf0c895cde8df6fd44..5838b29e143b55fd14839a4288a0737d252f8cf8 100644 (file)
@@ -361,9 +361,9 @@ void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph)
        if (bv->text() == bv->getLyXText())
                bv->cursor().clearSelection();
        if (asParagraph)
-               bv->getLyXText()->insertStringAsParagraphs(tmpstr);
+               bv->getLyXText()->insertStringAsParagraphs(bv->cursor(), tmpstr);
        else
-               bv->getLyXText()->insertStringAsLines(tmpstr);
+               bv->getLyXText()->insertStringAsLines(bv->cursor(), tmpstr);
        bv->update();
 }