mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
- scope is taken into account when determining the sketch mode and looking for size() - error checker received some love and now understands JAVA mode Modes: - JAVA sketch contains "public class <sketchName> extends PApplet" in the global scope - ACTIVE sketch contains a method declaration in the global scope - STATIC sketch is everything else size() parsing: - JAVA sketches: no parsing - ACTIVE mode: if there is setup() in global scope, we look there for the first occurrence, no parsing otherwise - STATIC sketches: first occurrence of size() in global scope