The editor failed to indent correctly on the following cases.
for (int i=0; i<n; i++)
for (int j=0; j<n; j++)
^ ^//The first "^" indicate the correct indentation while the editor believes the latter would be right.
//same problem here.
And the problem also exists in situations where deeper nesting is involved, for example, the 4-level nesting when coding Floyed-Warshall algorithm.
fixed, change set:
Integrated into 'main-golden', will be available in build *201001100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: fixed BZ#178867 Wrong indentation: nested "for", "if", etc without curly braces
verified in trunk build 201001150201
The fix has been ported into the release68_fixes repository.
verified in patch1 candidate