mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
pastesel.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4172 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0209d7f08e
commit
4782d3d62a
@ -427,6 +427,8 @@ void BufferView::paste()
|
||||
|
||||
// paste
|
||||
text->pasteSelection(this);
|
||||
// bug 393
|
||||
text->clearSelection();
|
||||
update(text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
|
||||
// why fake a selection only I think it should be a real one and not only
|
||||
// a painted one (Jug 20020318).
|
||||
|
@ -1530,6 +1530,7 @@ void BufferView::Pimpl::pasteClipboard(bool asPara)
|
||||
} else {
|
||||
bv_->getLyXText()->insertStringAsLines(bv_, clip);
|
||||
}
|
||||
bv_->getLyXText()->clearSelection();
|
||||
update(bv_->text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-05-15 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* BufferView_pimpl.C:
|
||||
* BufferView2.C: clear selection on paste (bug 393)
|
||||
|
||||
2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* DepTable.C: include ctime
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-05-15 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* insettext.C: clear selection on paste (bug 393)
|
||||
|
||||
2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* insettext.C (latex): Honor the moving_arg argument.
|
||||
|
@ -1379,6 +1379,9 @@ InsetText::localDispatch(BufferView * bv,
|
||||
} else {
|
||||
lt->insertStringAsLines(bv, clip);
|
||||
}
|
||||
// bug 393
|
||||
lt->clearSelection();
|
||||
|
||||
updwhat = CURSOR_PAR;
|
||||
updflag = true;
|
||||
break;
|
||||
@ -1396,6 +1399,8 @@ InsetText::localDispatch(BufferView * bv,
|
||||
setUndo(bv, Undo::INSERT,
|
||||
lt->cursor.par(), lt->cursor.par()->next());
|
||||
lt->pasteSelection(bv);
|
||||
// bug 393
|
||||
lt->clearSelection();
|
||||
updwhat = CURSOR_PAR;
|
||||
updflag = true;
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-05-15 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* math_cursor.C: clear selection on paste (bug 393)
|
||||
|
||||
2002-05-15 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* math_cursor.[Ch]: honor lyxrc setting for auto_delete_region
|
||||
|
@ -691,7 +691,7 @@ void MathCursor::selPaste()
|
||||
selClearOrDel();
|
||||
theSelection.paste(*this);
|
||||
//theSelection.grab(*this);
|
||||
//selClear();
|
||||
selClear();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user