Bug 760 : AutoFormat Color[]
Last modified: 2010-03-28 10:17




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P4
Severity:
normal

 

Reporter:
alphachapmtl
Assigned To:
MrFeinberg

Attachment Type Created Size Actions

Description:   Opened: 2008-04-22 18:16
(0135 Beta) After AutoFormat, the lines
n=3;
and
}//method1
have bad indentation[CODE]int n=0;

void setup() {
size(125,125);
background(153);
noLoop();
}//setup()

void draw() {
method1();
}//draw()

color[] method1() {
if (n==1) {
return new color[] {
color(0,0,0)
};
}
n=3;
n=4;
return new color[] {
color(0,0,0)
};
}//method1
[/CODE]
Additional Comment #1 From fry 2008-06-09 12:10
yeah, the autoformatter is on its way out before 1.0.
Additional Comment #2 From fry 2010-03-28 10:17
fixed by jdf.