void () { // Inspired by IDEA-22020 getSettings().ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true; String initial = """ class BrokenAlignment { public \tstatic int foo(String a, String b, String c, String d) { return -1; } }"""; int start = initial.indexOf(" String d"); int end = initial.indexOf("\n", start); myTextRange = new TextRange(start, end); doTextTest(initial, """ class BrokenAlignment { public \tstatic int foo(String a, String b, String c, String d) { return -1; } }""" ); }