mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
ae956bccd3
commit
65a391b78f
@ -264,10 +264,6 @@ void BufferView::copyEnvironment()
|
|||||||
{
|
{
|
||||||
if (available()) {
|
if (available()) {
|
||||||
text->copyEnvironmentType();
|
text->copyEnvironmentType();
|
||||||
// clear the selection, even if mark_set
|
|
||||||
toggleSelection();
|
|
||||||
text->clearSelection();
|
|
||||||
update(text, BufferView::SELECT|BufferView::FITCUR);
|
|
||||||
owner()->message(_("Paragraph environment type copied"));
|
owner()->message(_("Paragraph environment type copied"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -287,12 +283,6 @@ void BufferView::copy()
|
|||||||
{
|
{
|
||||||
if (available()) {
|
if (available()) {
|
||||||
text->copySelection(this);
|
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"));
|
owner()->message(_("Copy"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
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
|
* text.C (paintFirstRow): compilation fix
|
||||||
|
|
||||||
2001-11-27 Ben Stanley <bds02@uow.edu.au>
|
2001-11-27 Ben Stanley <bds02@uow.edu.au>
|
||||||
|
Loading…
Reference in New Issue
Block a user