diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 88ef59d16..b555560c8 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -1258,6 +1258,9 @@ public class PApplet implements PConstants { // When running from the PDE, say setup(), otherwise say settings() final String where = external ? "setup" : "settings"; PGraphics.showWarning("%s() can only be used inside %s()", method, where); + if (external) { + PGraphics.showWarning("When run from the PDE, %s() is automatically moved from setup() to settings()", method); + } } @@ -11145,9 +11148,9 @@ public class PApplet implements PConstants { /** * ( begin auto-generated from clip.xml ) * - * Limits the rendering to the boundaries of a rectangle defined - * by the parameters. The boundaries are drawn based on the state - * of the imageMode() fuction, either CORNER, CORNERS, or CENTER. + * Limits the rendering to the boundaries of a rectangle defined + * by the parameters. The boundaries are drawn based on the state + * of the imageMode() fuction, either CORNER, CORNERS, or CENTER. * * ( end auto-generated ) *