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

multiple line string and green selection when executing step by step #162

Open
remisharrock opened this issue Feb 25, 2021 · 1 comment
Open

Comments

@remisharrock
Copy link

this is a minor improvement but I would be great to have the green selection go all the way down to the end of multiple line strings when executing step by step.
For example
image
the green selection while executing here should be starting at line 1 and finishing at line 5
code:

s="""
This is a comment
written in
more than just one line
"""
print("Hello, World!",s)

@GeoffreyHuck

@SebastienTainon
Copy link
Collaborator

Unfortunately, Skulpt only sends the line number of the suspension. We have no way to know if it's a multiline instruction: it could be a dict defined on multiple lines, or other types of data. That would require creating a new Python parser. This may not be a priority for now.

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

No branches or pull requests

2 participants