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

" in Multiline String Literals in Swift breaks highlighting #955

Closed
olivereisenhut opened this issue Jul 10, 2018 · 3 comments
Closed

" in Multiline String Literals in Swift breaks highlighting #955

olivereisenhut opened this issue Jul 10, 2018 · 3 comments
Labels
bugfix-request A request for a bugfix to be developed. stale-issue There has been no activity for a year.

Comments

@olivereisenhut
Copy link

First of all thank you for this awesome project!

When putting a single quote into a multiline string literal the highlighting afterwards is broken. Testing code:

print("""
 Everything afterwards is handled as string because of this "
"""
let hans = "hello world"

Everything afterwards is handled as string.

Thank you!

Tested on http://rouge.jneen.net/ and also on gitlab.

@stale
Copy link

stale bot commented Jul 10, 2019

This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days.

If you would like this issue to remain open, please reply and let us know if the issue is still reproducible.

@stale stale bot added the stale-issue There has been no activity for a year. label Jul 10, 2019
@pyrmont
Copy link
Contributor

pyrmont commented Jul 12, 2019

I think the way to fix this might be to have a rule like this one from the HOCON lexer.

@stale stale bot removed the stale-issue There has been no activity for a year. label Jul 12, 2019
@pyrmont pyrmont added the bugfix-request A request for a bugfix to be developed. label Jul 12, 2019
@stale
Copy link

stale bot commented Jul 11, 2020

This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days.
If you would like this issue to remain open, please reply and let us know if the issue is still reproducible.

@stale stale bot added the stale-issue There has been no activity for a year. label Jul 11, 2020
@stale stale bot closed this as completed Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed. stale-issue There has been no activity for a year.
Projects
None yet
Development

No branches or pull requests

2 participants