You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
offset for code comments is causing some problems, i.e.:
[source,java]
----
int total = 10;
//[offset-down] Have you ever seen this syntax before? This is a new feature in Java 1.6 that Processing now supports. It allows us to specify in advance what type of object we intend to put in the ArrayList.
ArrayList<Particle> plist = new ArrayList<Particle>();
void setup() {
for (int i = 0; i < total; i++) {
// An object is added to an ArrayList with add().
plist.add(new Particle());
}
}
----
renders to:
Also, offset sometimes adds a lot of space where unnecessary, i.e.
The text was updated successfully, but these errors were encountered:
offset for code comments is causing some problems, i.e.:
renders to:
Also, offset sometimes adds a lot of space where unnecessary, i.e.
The text was updated successfully, but these errors were encountered: