mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix bug #11102.
Ignore deleted material when generating a proposed label.
(cherry picked from commit d9ebf6e2c7
)
This commit is contained in:
parent
1696d26b20
commit
935442aaba
@ -1977,7 +1977,7 @@ docstring Text::getPossibleLabel(Cursor 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', '-');
|
||||
|
@ -134,6 +134,8 @@ What's new
|
||||
- Assure that the External Inset dialog is opened at first tab for
|
||||
new insets (bug 11081).
|
||||
|
||||
- Ignore deleted material when generating a proposed label (bug 11102).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user