]> git.lyx.org Git - features.git/commitdiff
apply insertascii.diff
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 5 Dec 2001 23:01:23 +0000 (23:01 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 5 Dec 2001 23:01:23 +0000 (23:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3157 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView_pimpl.C
src/ChangeLog

index 8593ebaa5ee5e2c0deb9c6e62a9b65c98b834f3e..5c6b555f3a0c3923114f70182b53d262994740c2 100644 (file)
@@ -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);
 }
index 05f7a3347489f38a35079337fb6202e13a312de8..706d629d7de4f9f9ff452ed8654c2e65e01a2abf 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: fix insertAscii for insets
 2001-12-05  Juergen Vigna  <jug@sad.it>
 
        * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and