mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-16 08:20:19 +07:00
[java] text blocks: basic highlighting (IDEA-215312)
GitOrigin-RevId: 66780cacc839496911748c788ef8ca79a6cd0c9d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ec5748085c
commit
74f5d16bd7
+7
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
String empty = """
|
||||
""";
|
||||
String invalid1 = <error descr="Illegal text block start: missing new line after opening quotes">""""""</error>;
|
||||
String invalid2 = <error descr="Illegal text block start: missing new line after opening quotes">""" """</error>;
|
||||
String invalid3 = <error descr="Illegal text block start: missing new line after opening quotes">"""\\n """</error>;
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
class C {
|
||||
String unclosed = """
|
||||
\""";
|
||||
}<EOLError descr="Unclosed text block"></EOLError><EOLError descr="'}' expected"></EOLError><EOLError descr="';' expected"></EOLError>
|
||||
Reference in New Issue
Block a user