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

Wrong Help Text Reference for the mousePressed variable

Open Kango opened this issue 3 years ago • 3 comments

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 avatar Nov 18 '22 19:11 Kango

Not solved.

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

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

Kango avatar Jan 03 '23 22:01 Kango

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

SableRaf avatar Jan 04 '23 12:01 SableRaf

@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 🙏

SableRaf avatar Jan 19 '23 13:01 SableRaf