void () { getSettings().WRAP_LONG_LINES = true; getSettings().RIGHT_MARGIN = 40; doTextTest( """ public class Cls { public void foo () { int x = 0; // See https://youtrack.jetbrains.com/issue/IDEA-189817#focus=Comments-27-2841120.0-0 and other sources } }""", """ public class Cls { public void foo() { int x = 0; // See https://youtrack.jetbrains.com/issue/IDEA-189817#focus=Comments-27-2841120.0-0 // and other sources } }""" ); }