Bug 1194 : comments not always colored correctly
Last modified: 2010-03-28 10:22




Status:
ASSIGNED
Resolution:
-
Priority:
P4
Severity:
normal

 

Reporter:
clankill3r
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-03-10 06:35
The code is posted below,
When I use auto format then the gray out comment dissapears and things are
shown as actual code. The bug is really small, cause if I scroll the field
where you type the code gets an update and comments will be shown as
comments again but since it's still a bug I thought I post it.

/*
size(300, 300);

for (int x = 20; x <= 120; x += 5){
println(x);
if (x <= 50){
line(x, 20, x, 60);
}
}
*/

//
size(300, 300);

int z = 20;

for (int y = 20; y<= 100; y += 20){
println("y is "+ y);
z += 20;
for (int x = 20; x <= 120; x += 5){
line(x+z, y, x+z, y+40);
}
}
Additional Comment #1 From fry 2010-02-17 20:09
k, noted.
Additional Comment #2 From fry 2010-03-28 10:22
re-classifying this, it's just an editor problem with how coloring happens
with scrolling or changes to the file (for instance, when auto-format happens).
This bug is now being tracked here.