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;
|
||||
space_inserted = true;
|
||||
}
|
||||
} else if (specialchars.find(ch) != specialchars.end()) {
|
||||
if (par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second),
|
||||
font, bparams.track_changes ?
|
||||
Change(Change::INSERTED)
|
||||
: Change(Change::UNCHANGED)))
|
||||
++pos;
|
||||
} else if (specialchars.find(ch) != specialchars.end()
|
||||
&& (par.insertInset(pos, new InsetSpecialChar(specialchars.find(ch)->second),
|
||||
font, bparams.track_changes
|
||||
? Change(Change::INSERTED)
|
||||
: Change(Change::UNCHANGED)))) {
|
||||
++pos;
|
||||
space_inserted = false;
|
||||
} else if (!isPrintable(ch)) {
|
||||
// Ignore (other) unprintables
|
||||
|
Loading…
Reference in New Issue
Block a user