We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › 0088  warning - new undo-bug
Page Index Toggle Pages: 1
0088  warning - new undo-bug (Read 3098 times)
0088  warning - new undo-bug
May 8th, 2005, 3:50pm
 
i just found a bug you can't recover from:

have this sketch:
Code:

int[] ints;
void setup(){
size( 100,100);
// -- from
ints = new int[10];
// to --
}
void draw(){
for (int i=0; i<100; i++)
{
ints[i]++; // raise exception here
}
}


now save, cut (command-x) the part marked --from - to--,
don't save but run the sketch ...

an exception is raised ok, now undo the cutting (command-z) ...

first the undo-code is inserted at a wrong position and without line-breaks, then pressing undo inserts it again (why?), now i have parts of my sketch (everything above the undo) i can't select anymore ...

best,
F
Re: 0088  warning - new undo-bug
Reply #1 - May 8th, 2005, 5:25pm
 
k, fixed for 89, posting in a few minutes.
Page Index Toggle Pages: 1