processing-website icon indicating copy to clipboard operation
processing-website copied to clipboard

popStyle() reference error

Open REAS opened this issue 4 years ago • 3 comments

fyi only - there appears to be an error in the new documentation at https://processing.org/reference -- the definition for popStyle appears to contain an error (pop instead of push?)

popStyle() Saves the current style settings and popStyle() restores the prior settings

REAS avatar Oct 06 '21 05:10 REAS

Hi @REAS, regarding this, I need to change it in the Processing core in the comments, and I can change the brief description which is shown on the index reference page here http://localhost:8000/reference which I think this issue is about. The longer description of the popStyle() and pushStyle() was always almost the same as you can see here and here so just wanted to check if this should also maybe be changed and if so, to what?

Anadroid avatar Oct 08 '21 10:10 Anadroid

The @webBrief for pushStyle() currently reads:

@webBrief Saves the current style settings and <b>popStyle()</b> restores the prior settings

It should be:

@webBrief The <b>pushStyle()</b> function saves the current style settings and <b>popStyle()</b> restores the prior settings

SableRaf avatar Aug 22 '22 15:08 SableRaf

This was fixed in the JavaDoc but issue https://github.com/processing/processing-doclet/issues/1 needs to be resolved so that the update can be made to the website itself.

SableRaf avatar Jan 23 '23 12:01 SableRaf