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

Python Fold Parser does not handle line continuation #512

Closed
awindillman opened this issue Jun 23, 2023 · 1 comment
Closed

Python Fold Parser does not handle line continuation #512

awindillman opened this issue Jun 23, 2023 · 1 comment
Labels
Milestone

Comments

@awindillman
Copy link
Contributor

Python uses the backslash '' as a line continuation. If there is a line continuation anywhere in the RSTA while code folds are being processed an exception is thrown.

Steps to Reproduce
Specific steps to reproduce the behavior:

  1. Launch the demo App
  2. Go into Python mode
  3. Add a line continuation after an if (for example) and add anything to the next line
  4. Exception thrown

This bug requires adding support for line continuation to the PythonFoldParser. This is a small fix, and I will put in a pull request for it.

@bobbylight
Copy link
Owner

Thanks for the PR with the fix!

@bobbylight bobbylight added this to the 3.3.4 milestone Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants