Replies: 1 comment
-
There is no main reason why we do not have line numbers until now, maybe just laziness on implementing it 😆 But counting the numbers of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In addition to the current offset from the start of the input string, errors can point out more precisely where a parsing error happened by having AlphaTexImporter keep count of how many newlines has passed. This can be used in live editors (similar to playground) to help the user see where the syntax error is.
The error message logic can also be expanded upon, and more detailed error messages can be added.
I plan on implementing this myself. Feedback, discussion and more ideas are appreciated 😄
Beta Was this translation helpful? Give feedback.
All reactions