diff options
author | Sergey Prigogin | 2011-03-28 00:37:56 +0000 |
---|---|---|
committer | Sergey Prigogin | 2011-03-28 00:37:56 +0000 |
commit | 69c80b5390fc3d40ef21afec9dd62fcc2ce98672 (patch) | |
tree | bbc95ad3e473a003ea536199cbc0765e4051b8e4 | |
parent | 32d0894ce10606f4379a65fac104b168329c8473 (diff) | |
download | org.eclipse.cdt-69c80b5390fc3d40ef21afec9dd62fcc2ce98672.tar.gz org.eclipse.cdt-69c80b5390fc3d40ef21afec9dd62fcc2ce98672.tar.xz org.eclipse.cdt-69c80b5390fc3d40ef21afec9dd62fcc2ce98672.zip |
Simplified example code.
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/formatter/LineWrappingTabPage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/formatter/LineWrappingTabPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/formatter/LineWrappingTabPage.java index 0a18ce67d56..186e7872da9 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/formatter/LineWrappingTabPage.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/formatter/LineWrappingTabPage.java @@ -469,12 +469,12 @@ public class LineWrappingTabPage extends FormatterTabPage { private final Category fBinaryExpressionCategory= new Category( DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION, - "class Example : AnotherClass {" + //$NON-NLS-1$ "int foo() {" + //$NON-NLS-1$ " int sum= 100 + 200 + 300 + 400 + 500 + 600 + 700 + 800;" + //$NON-NLS-1$ " int product= 1 * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10;" + //$NON-NLS-1$ " bool val= true && false && true && false && true;" + //$NON-NLS-1$ - " return product / sum;}}", //$NON-NLS-1$ + " return product / sum;" + //$NON-NLS-1$ + "}", //$NON-NLS-1$ FormatterMessages.LineWrappingTabPage_binary_exprs, FormatterMessages.LineWrappingTabPage_binary_exprs_lowercase ); |