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

Syntax highlighting fails in Python, when raw docstrings with special characters are involved #158

Closed
avinassh opened this issue Nov 1, 2015 · 2 comments

Comments

@avinassh
Copy link

avinassh commented Nov 1, 2015

Whenever a raw docstring has a special character ( ), even if they are escaped properly, syntax highlighting fails. Following is a valid python script:

def hi(name):
    r""" Say hi!
    (with a \) special characters.
    """
    return 'hi ' + name

print(hi('avi'))

However sublime shows everything as a comment:

screen shot 2015-11-01 at 9 32 01 pm

Sublime Version: ST3, build 3083.
OS: OS X 10.11.1
To reproduce: Copy the above code snippet in ST and see the highlighting.

@jatin-pathangi
Copy link

+1 I can confirm that this is an issue.

@philipbordallo
Copy link

This looks to be fixed in dev build 3095.

screen shot 2015-11-02 at 11 12 13 pm

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

4 participants