mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
first_after_edit was not set in the right place in one ::edit call (fix #385)
(see ChangeLog for detailed description). Anyway this stuff is one of the first things to remove as soon as we have a decent inset and paragraph iterator in 1.3.0! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4148 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fbccc15f8f
commit
aa3c665813
@ -1,3 +1,10 @@
|
||||
2002-05-09 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insetcollapsable.C (edit): first_after_edit should only be
|
||||
set to true if we enter this inset and it was collapsed so we
|
||||
open it up. This is needed to reclose it after a search/replace
|
||||
or spellcheck function opened it and was negative.
|
||||
|
||||
2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* insetfloat.C (latex): Return correct value.
|
||||
|
@ -276,12 +276,12 @@ void InsetCollapsable::edit(BufferView * bv, bool front)
|
||||
inset.setUpdateStatus(bv, InsetText::FULL);
|
||||
bv->updateInset(this, false);
|
||||
inset.edit(bv, front);
|
||||
first_after_edit = true;
|
||||
} else {
|
||||
if (!bv->lockInset(this))
|
||||
return;
|
||||
inset.edit(bv, front);
|
||||
}
|
||||
first_after_edit = true;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user