mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix #12104
This commit is contained in:
parent
d999d8e8d9
commit
b6c089afa4
@ -895,11 +895,11 @@ void Text::insertStringAsLines(Cursor & cur, docstring const & str,
|
||||
space_inserted = true;
|
||||
}
|
||||
} else if (specialchars.find(ch) != specialchars.end()) {
|
||||
par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second),
|
||||
if (par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second),
|
||||
font, bparams.track_changes ?
|
||||
Change(Change::INSERTED)
|
||||
: Change(Change::UNCHANGED));
|
||||
++pos;
|
||||
: Change(Change::UNCHANGED)))
|
||||
++pos;
|
||||
space_inserted = false;
|
||||
} else if (!isPrintable(ch)) {
|
||||
// Ignore (other) unprintables
|
||||
|
Loading…
Reference in New Issue
Block a user