author | dadubrow |
Thu, 29 Apr 2010 11:30:21 -0500 | |
branch | RCL_2_4 |
changeset 140 | 6d6cf3bdff43 |
parent 139 | 3b27a90d6161 |
child 141 | 1c111b1b3a16 |
cdt/cdt_6_0_x/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java | file | annotate | diff | comparison | revisions |
--- a/cdt/cdt_6_0_x/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java Tue Apr 13 09:45:35 2010 -0500 +++ b/cdt/cdt_6_0_x/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java Thu Apr 29 11:30:21 2010 -0500 @@ -1277,6 +1277,7 @@ case Symbols.TokenWHILE: case Symbols.TokenFOR: case Symbols.TokenTRY: + fIndent += fPrefs.prefIndentBracesForBlocks ? 1 : 0; return fPosition; case Symbols.TokenCLASS: