mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Amend [b6c089afa4/lyxgit].
This commit is contained in:
parent
bd0044f9d5
commit
8d5da386c4
12
src/Text.cpp
12
src/Text.cpp
@ -895,12 +895,12 @@ void Text::insertStringAsLines(Cursor & cur, docstring const & str,
|
|||||||
++pos;
|
++pos;
|
||||||
space_inserted = true;
|
space_inserted = true;
|
||||||
}
|
}
|
||||||
} else if (specialchars.find(ch) != specialchars.end()) {
|
} else if (specialchars.find(ch) != specialchars.end()
|
||||||
if (par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second),
|
&& (par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second),
|
||||||
font, bparams.track_changes ?
|
font, bparams.track_changes
|
||||||
Change(Change::INSERTED)
|
? Change(Change::INSERTED)
|
||||||
: Change(Change::UNCHANGED)))
|
: Change(Change::UNCHANGED)))) {
|
||||||
++pos;
|
++pos;
|
||||||
space_inserted = false;
|
space_inserted = false;
|
||||||
} else if (!isPrintable(ch)) {
|
} else if (!isPrintable(ch)) {
|
||||||
// Ignore (other) unprintables
|
// Ignore (other) unprintables
|
||||||
|
Loading…
Reference in New Issue
Block a user