mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
append original fragment if it cannot be unescaped properly on copy
GitOrigin-RevId: 8ea24d57849355e4bb56ec2058249af379bc4876
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bf68eff84a
commit
fd3aa35384
+3
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user