mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #11716
Force closing and reopening of \lyxdeleted after deleted display math so that the following deleted text can be correctly striked out.
This commit is contained in:
parent
ad56c71dce
commit
15949fc99a
@ -2747,6 +2747,14 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
runningChange, style, i, column);
|
||||
if (incremented)
|
||||
--parInline;
|
||||
|
||||
if (deleted_display_math) {
|
||||
// Close \lyxdeleted and force its
|
||||
// reopening (if needed)
|
||||
os << '}';
|
||||
column++;
|
||||
runningChange = Change(Change::UNCHANGED);
|
||||
}
|
||||
}
|
||||
} else if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
|
||||
try {
|
||||
|
@ -49,6 +49,8 @@ What's new
|
||||
|
||||
- Fix erroneous space in output caused by changebar module (bug 11473).
|
||||
|
||||
- Correctly strike out deleted text after deleted display math (bug 11716).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user