mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Skip insets when checking for uncodable chars to paste.
Fixes paste of quote insets to ERT/chunk.
This commit is contained in:
parent
0d806799aa
commit
8f9b733e67
@ -169,6 +169,9 @@ pasteSelectionHelper(DocIterator const & cur, ParagraphList const & parlist,
|
||||
for (size_t i = 0; i != insertion.size(); ++i) {
|
||||
pos_type end = insertion[i].size();
|
||||
for (pos_type j = 0; j != end; ++j) {
|
||||
// skip insets
|
||||
if (insertion[i].isInset(j))
|
||||
continue;
|
||||
char_type const c = insertion[i].getChar(j);
|
||||
if (!e->encodable(c)) {
|
||||
// do not track deletion
|
||||
|
Loading…
Reference in New Issue
Block a user