void () { // Inspired by IDEA-82398 getSettings().RIGHT_MARGIN = 30; getSettings().WRAP_LONG_LINES = true; final String text = """ class Test { String s = "first line " + +"second line"; }"""; doTextTest(text, text); }