mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
Make sanitize more robust to dangling pointers.
It is necessary to sanitize the new_word iterator too.
(cherry picked from commit 344f7f2e7d
)
This commit is contained in:
parent
a50ad8f926
commit
90688b63be
@ -2249,6 +2249,7 @@ void Cursor::sanitize()
|
||||
{
|
||||
setBuffer(&bv_->buffer());
|
||||
DocIterator::sanitize();
|
||||
new_word_.sanitize();
|
||||
if (selection())
|
||||
anchor_.sanitize();
|
||||
else
|
||||
|
@ -109,11 +109,11 @@ What's new
|
||||
|
||||
- Fix some quote inset bugs (bug 10451):
|
||||
# Adjoining closing Single + double quote becomes double + single quote
|
||||
(for English, Swedish and German).
|
||||
(for English, Swedish and German).
|
||||
# French double quotes are converted to << >> in the LaTeX file and to double
|
||||
inverted question/interrogation marks in the output, if the font encoding is
|
||||
set to [None] or OT1 but the global default is T1.
|
||||
# Quote type ignored for LyXHTML: always "English" quotes used.
|
||||
# Quote type ignored for LyXHTML: always "English" quotes used.
|
||||
|
||||
- Output correct identifier for DocBook XML.
|
||||
|
||||
@ -187,6 +187,8 @@ What's new
|
||||
|
||||
- Fix size of Section* headings in amsart.
|
||||
|
||||
- Fix possible crash with Save As... when online spell-checking is active.
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user