mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
582c2887a9
commit
c7c0d033b2
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user