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

Triple quotes makes syntax highlighting confused #1266

Closed
scabug opened this issue Aug 21, 2008 · 4 comments
Closed

Triple quotes makes syntax highlighting confused #1266

scabug opened this issue Aug 21, 2008 · 4 comments

Comments

@scabug
Copy link

scabug commented Aug 21, 2008

When in scala-mode, if I try to do "raw" quoted strings (I can't remember the correct term) with triple quotes ("""), then everything following is highlighted incorrectly. I've attached a screenshot of an example as well as the scala file that is having issues.

@scabug
Copy link
Author

scabug commented Aug 21, 2008

Imported From: https://issues.scala-lang.org/browse/SI-1266?orig=1
Reporter: @dchenbecker
Assignee: Anders Bach Nielsen [X] (nielsen)
Attachments:

@scabug
Copy link
Author

scabug commented Aug 21, 2008

@dchenbecker said:
Screenshot of incorrect highlighting

@scabug
Copy link
Author

scabug commented Aug 21, 2008

@dchenbecker said:
The Scala source file that's getting highlighted incorrectly

@scabug
Copy link
Author

scabug commented Oct 15, 2008

Anders Bach Nielsen [X] (nielsen) said:
There is a limitation in how emacs modes do highlighting and the comments are a very special part! Currently one specifies that " is string begin and " is string end. I can not make it accept something like "("")? .. but it would be nice.
So sorry... I cant fix this. The same problem can be found in the python mode for emacs with its multi line string * * ... the same problem is seen there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant