benfry / processing4

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

Fix #825 - Showing wrong errors' line numbers for .java files #826

Open e1dem opened 6 months ago

e1dem commented 6 months ago

Fix for bug #825.

Using PreprocSketch.mapJavaToSketch result for processing .java files is incorrect, as a sketch's combined source code file does not include code from .java tabs.

As far as I can see, there is a similar issue with showing variables usage, so I would suggest this solution as a temporary one.

hkiel commented 3 months ago

@benfry Is this PR going to be incorporated at any time soon?