toolness / p5.js-widget

A reusable widget for embedding editable p5 sketches in web pages.
https://toolness.github.io/p5.js-widget/
GNU Lesser General Public License v2.1
161 stars 44 forks source link

Highlight column number of errors #43

Open toolness opened 8 years ago

toolness commented 8 years ago

The exception information we receive when running user sketches also includes information about the column number of the error. While this can sometimes be misleading, especially with syntax errors, it might also help the user locate the error more easily.

Note that we'll have to figure out a solution for the implicit setup() functionality. While line numbers are preserved in that case, column numbers on the first line aren't. Options here include: