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 & BugsWebsite,  Documentation,  Book Bugs › colons and formatting-YaBB
Page Index Toggle Pages: 1
colons and formatting-YaBB (Read 838 times)
colons and formatting-YaBB
Nov 5th, 2006, 8:37pm
 
This is an incredibly unimportant low priority issue:

It seems colons used in conjunction with indents (maybe?) messes up code formatting (only on the discourse board.)

The 1st block just has an extra indent, as if the block was nested.
eg:
Code:

if(keyPressed){
switch(key){
case 's' :
square();
break;
case 'e' :
ellipse(0, 0, 44, 44);
break;
case 't' :
triangle(-27, 27, 0, -27, 27, 27);
}
}


Code:

if(keyPressed) {
switch(key) {
case 's' :
square();
break;
case 'e' :
ellipse(0, 0, 44, 44);
break;
case 't' :
triangle(-27, 27, 0, -27, 27, 27);
}
}

I'll assume this is a YaBB bug Wink
Page Index Toggle Pages: 1