Ignore deleted material when generating a proposed label.
This commit is contained in:
Richard Heck 2018-04-03 18:38:46 -04:00
parent 1a4404944b
commit d9ebf6e2c7

View File

@ -1979,7 +1979,7 @@ docstring Text::getPossibleLabel(DocIterator const & cur) const
Layout const * layout = &(pars_[pit].layout());
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
par_text = subst(par_text, '\n', '-');