mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Fix bug #11102.
Ignore deleted material when generating a proposed label.
This commit is contained in:
parent
1a4404944b
commit
d9ebf6e2c7
@ -1979,7 +1979,7 @@ docstring Text::getPossibleLabel(DocIterator const & cur) const
|
|||||||
Layout const * layout = &(pars_[pit].layout());
|
Layout const * layout = &(pars_[pit].layout());
|
||||||
|
|
||||||
docstring text;
|
docstring text;
|
||||||
docstring par_text = pars_[pit].asString();
|
docstring par_text = pars_[pit].asString(AS_STR_SKIPDELETE);
|
||||||
|
|
||||||
// The return string of math matrices might contain linebreaks
|
// The return string of math matrices might contain linebreaks
|
||||||
par_text = subst(par_text, '\n', '-');
|
par_text = subst(par_text, '\n', '-');
|
||||||
|
Loading…
Reference in New Issue
Block a user