Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: show line numbers in parser input textarea #236

Closed
Anton-4 opened this issue Jan 7, 2022 · 0 comments · Fixed by #284
Closed

feature request: show line numbers in parser input textarea #236

Anton-4 opened this issue Jan 7, 2022 · 0 comments · Fixed by #284

Comments

@Anton-4
Copy link

Anton-4 commented Jan 7, 2022

Thanks for working on peggy, it's been very useful to me ❤️

The online version of peggy reports errors like this:

Line 6, column 11: Expected ....

To easily see where this error occurred, I think it would be useful to have:

  • Line numbers for the parser input text-area under "Test the generated parser with some input". Exactly like in the left text-area.
  • To show the current line and column number of the cursor/caret in that text-area. This could for example be shown on the bottom left of the text-area.
Mingun added a commit to Mingun/peggy that referenced this issue Jun 10, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
hildjj added a commit that referenced this issue Jun 10, 2022

Verified

This commit was signed with the committer’s verified signature.
mcalhoun Matt Calhoun
Fix #236: Show line numbers in parser input textarea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant