apply insertascii.diff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3157 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-12-05 23:01:23 +00:00
parent 582c2887a9
commit c7c0d033b2
2 changed files with 6 additions and 2 deletions

View 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);
}

View 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