processing / processing-website

Repository for the processing.org website
https://processing.org
GNU General Public License v2.0
64 stars 95 forks source link

Wrong Help Text Reference for the mousePressed variable #343

Open Kango opened 1 year ago

Kango commented 1 year ago

there is a error in the reference

see https://processing.org/reference/mousePressed.html

it has the text of the function mousePressed(), but it should be the text for the variable mousePressed

The code example is correct, function mousePressed() is also correct

=== Context ===

mousePressed Variable storing if a mouse button is pressed mousePressed() Called once after every time a mouse button is pressed

Kango commented 1 year ago

Not solved.

Still wrong help text here: https://processing.org/reference/mousePressed.html

This is correct: https://processing.org/reference/mousePressed_.html

SableRaf commented 1 year ago

Hi @Kango, thanks for the heads up. This will be fixed in the next website release.

SableRaf commented 1 year ago

@Kango just a quick update about this: there is an issue with the Doclet script that generates the reference from the JavaDoc. This was introduced with Processing4's switch from Java 11 to Java 17. This bug is blocking updates to the reference and clearly not ideal, but something I do not have the skills to fix myself. If you or someone you know has the knowledge needed to fix this, let me know 🙏