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 › Wrong textLeading() example.
Page Index Toggle Pages: 1
Wrong textLeading() example. (Read 1429 times)
Wrong textLeading() example.
Nov 17th, 2009, 11:15pm
 
There is a little mistake on the textLeading page.
I guess it should be String lines = "LIN1\nLIN2\nLIN3";
not String lines = "LIN1nLIN2nLIN3";
Re: Wrong textLeading() example.
Reply #1 - Nov 19th, 2009, 11:28pm
 
Fixed. The example was correct, but I needed to escape the / character so it made it through the parser.
Page Index Toggle Pages: 1