Bugs item #627753, was opened at 2002-10-23 16:01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=627753&group_id=44253
Category: Definitions (source editor)
Group: Would be nice if fixed ...
Status: Open
Resolution: None
Priority: 3
Submitted By: Eric E. Allen (eallen)
Assigned to: Nobody/Anonymous (nobody)
Summary: obscure indentation bug
Initial Comment:
BTW, as with all bug reports I submit, I'm available for pair
programming to help fix it.
DrJava indents nested block statements poorly. For example,
consider the schematic code block taken from real NextGen code:
if (...)
for (...) {
...
}
Note the lack of braces around the body of the if statement.
DrJava will indent this code block as follows:
if (...)
for (...) {
...
}
Well, needless to say, that can be pretty confusing, especially
when the body of the for loop is several dozen lines long (as was
the case in the NextGen code block). :-)
-- Eric
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=627753&group_id=44253
|