do not unselect after a copy

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3097 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-11-27 15:33:19 +00:00
parent ae956bccd3
commit 65a391b78f
2 changed files with 3 additions and 10 deletions

View File

@ -264,10 +264,6 @@ void BufferView::copyEnvironment()
{
if (available()) {
text->copyEnvironmentType();
// clear the selection, even if mark_set
toggleSelection();
text->clearSelection();
update(text, BufferView::SELECT|BufferView::FITCUR);
owner()->message(_("Paragraph environment type copied"));
}
}
@ -287,12 +283,6 @@ void BufferView::copy()
{
if (available()) {
text->copySelection(this);
#if 0
// clear the selection, even if mark_set
toggleSelection();
text->clearSelection();
update(text, BufferView::SELECT|BufferView::FITCUR);
#endif
owner()->message(_("Copy"));
}
}

View File

@ -1,5 +1,8 @@
2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* BufferView2.C (copy):
(copyEnvironment): do not clear the selection when doing a copy.
* text.C (paintFirstRow): compilation fix
2001-11-27 Ben Stanley <bds02@uow.edu.au>