FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 235 : Auto Format progressively eats code with certain brace settings
Last modified: 2010-03-26 07:05
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P4
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
fry
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2005-12-01 08:57
use Editor.java as a test case, running Auto Format multiple times will
keep eating code. i haven't looked into what code is being eaten, but on
each attempt, the formatter responds that the code has changed along the way.
Additional Comment
#1 From fry 2005-12-01 09:00
this code from Editor.java will cause strange results from autoformat. it
looks like the second brace is removed and/or many spaces are added after
the "No", which are progressively eaten on multiple trips through auto format.
Object[] options = {
"Yes", "No"
};
Additional Comment
#2 From fry 2005-12-01 09:05
may be related to
bug #109
.