From c7c0d033b2a3e73fa75245ac29469b9be20b7e45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 5 Dec 2001 23:01:23 +0000 Subject: [PATCH] apply insertascii.diff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3157 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView_pimpl.C | 4 ++-- src/ChangeLog | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5