mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Skip insets when checking for uncodable chars to paste.
Fixes paste of quote insets to ERT/chunk.
(cherry picked from commit 8f9b733e67
)
This commit is contained in:
parent
ae76c030d3
commit
6ce83844dc
@ -168,6 +168,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