From: Lars Gullik Bjønnes Date: Wed, 5 Dec 2001 23:01:23 +0000 (+0000) Subject: apply insertascii.diff X-Git-Tag: 1.6.10~20221 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c7c0d033b2a3e73fa75245ac29469b9be20b7e45;p=lyx.git apply insertascii.diff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3157 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView_pimpl.C b/src/BufferView_pimpl.C index 8593ebaa5e..5c6b555f3a 100644 --- a/src/BufferView_pimpl.C +++ b/src/BufferView_pimpl.C @@ -1347,9 +1347,9 @@ void BufferView::Pimpl::pasteClipboard(bool asPara) if (clip.empty()) return; if (asPara) { - bv_->text->insertStringAsParagraphs(bv_, clip); + bv_->getLyXText()->insertStringAsParagraphs(bv_, clip); } else { - bv_->text->insertStringAsLines(bv_, clip); + bv_->getLyXText()->insertStringAsLines(bv_, clip); } update(bv_->text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE); } diff --git a/src/ChangeLog b/src/ChangeLog index 05f7a33474..706d629d7d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-12-05 John Levon + + * BufferView_pimpl.C: fix insertAscii for insets + 2001-12-05 Juergen Vigna * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and