benfry / processing4

Processing 4.x releases for Java 17
https://processing.org
Other
1.35k stars 239 forks source link

Warn users or provide auto-fix when `frame` is used in a sketch #59

Open benfry opened 4 years ago

benfry commented 4 years ago

In 4.0a2, removed the frame field in PApplet. It's been showing warnings to use surface since 2015, but we should provide a warning or even a way to auto-fix code that still uses it.

PoolloverNathan commented 4 years ago

Well, since Processing is already smart enough to know when I feel like there is an error somewhere and kindly turn off error detection, autofixing shouldn't be a problem.

urbanskimichal commented 4 years ago

Hello. I created a pull request for this. Is there a better option for me to link a pull request with an issue?

benfry commented 4 years ago

Thanks for the fix! Holding on this one pending how we decide to resolve https://github.com/processing/processing4/issues/53