determine content range of text block correctly on pasting in literal (IDEA-CR-50963)

GitOrigin-RevId: aca891bae186771688369389803a7b47da165f91
This commit is contained in:
Bas Leijdekkers
2019-08-12 16:06:12 +03:00
committed by intellij-monorepo-bot
parent ed264d14d2
commit 1c31987860
9 changed files with 67 additions and 42 deletions
@@ -0,0 +1,4 @@
class C {
String empty = """
\a\\""";
}
@@ -0,0 +1,4 @@
class C {
String empty = """
\a<caret>""";
}
@@ -0,0 +1,4 @@
class C {
String empty = """ \
b\ad esc\ape """;
}
@@ -0,0 +1,4 @@
class C {
String empty = """ <caret>
b\ad esc\ape """;
}
@@ -0,0 +1,6 @@
class C {
String empty = """
""";
}
@@ -0,0 +1,4 @@
class C {
String empty = """
<caret>""";
}