append original fragment if it cannot be unescaped properly on copy

GitOrigin-RevId: 8ea24d57849355e4bb56ec2058249af379bc4876
This commit is contained in:
Daniil Ovchinnikov
2019-11-15 07:34:12 +00:00
committed by intellij-monorepo-bot
parent bf68eff84a
commit fd3aa35384
@@ -72,6 +72,9 @@ public class StringLiteralCopyPasteProcessor implements CopyPastePreProcessor {
textWasChanged = true;
buffer.append(unescaped);
}
else {
buffer.append(fragment);
}
}
int blockSelectionPadding = deducedBlockSelectionWidth - (fileEndOffset - fileStartOffset);
for (int j = 0; j < blockSelectionPadding; j++) {