Bug 54658 Bug in Code Formatter > Line Wrapping
Code Formatter > Line Wrapping: The preview is not shown correctly from the beginning. The "Set line width for preview window" number has to be reset to another OR even THE SAME value to correct the display.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
FormatterMessages.getString("LineWrappingTabPage.array_init") 
	);
	
	private final static Category fExplicitConstructorArgumentsCategory= new Category(
	    DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL,
	    "class Example extends AnotherClass {Example() {super(100, 200, 300, 400, 500, 600, 700);}}", 
	    FormatterMessages.getString("LineWrappingTabPage.explicit_constructor_invocations") 
	);
	private final static Category fConditionalExpressionCategory= new Category(
	    DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION,
	    "class Example extends AnotherClass {int Example(boolean Argument) {return argument ? 100000 : 200000;}}", 
	    FormatterMessages.getString("LineWrappingTabPage.conditionals") 
	);
	private final static Category fBinaryExpressionCategory= new Category(
	    DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION,
	    "class Example extends AnotherClass {" + 
	    "int foo() {" + 
	    "  int sum= 100 + 200 + 300 + 400 + 500 + 600 + 700 + 800;" + 
	    "  int product= 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10;" + 
	    "  boolean val= true && false && true && false && true;" +  
	    "  return product / sum;}}", 
	    FormatterMessages.getString("LineWrappingTabPage.binary_exprs") 
	);
	
	/**
	 * The default preview line width.
	 */
	private static int DEFAULT_PREVIEW_WINDOW_LINE_WIDTH= 40;
	
	/**