{"action":"closed","issue":{"url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/2017","repository_url":"https://api.github.com/repos/SublimeTextIssues/Core","labels_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/2017/labels{/name}","comments_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/2017/comments","events_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/2017/events","html_url":"https://github.com/SublimeTextIssues/Core/issues/2017","id":267476182,"number":2017,"title":"Python Syntax highlighting bug","user":{"login":"4reeeal","id":14689094,"avatar_url":"https://avatars1.githubusercontent.com/u/14689094?v=4","gravatar_id":"","url":"https://api.github.com/users/4reeeal","html_url":"https://github.com/4reeeal","followers_url":"https://api.github.com/users/4reeeal/followers","following_url":"https://api.github.com/users/4reeeal/following{/other_user}","gists_url":"https://api.github.com/users/4reeeal/gists{/gist_id}","starred_url":"https://api.github.com/users/4reeeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4reeeal/subscriptions","organizations_url":"https://api.github.com/users/4reeeal/orgs","repos_url":"https://api.github.com/users/4reeeal/repos","events_url":"https://api.github.com/users/4reeeal/events{/privacy}","received_events_url":"https://api.github.com/users/4reeeal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-22T15:58:56Z","updated_at":"2017-10-22T16:02:16Z","closed_at":"2017-10-22T16:02:16Z","author_association":"NONE","body":"# Summary\r\nThis issue causes any code beyond a string including a character between 2 open braces to be incorrectly highlighted. \r\n\r\n# Expected Behaviour\r\nClosing the string with a quote should keep any additional highlighting inside the quotes.\r\n\r\n# Behaviour\r\nThe highlighting continues after the quote causing the highlighting to incorrectly highlight beyond that point.\r\n\r\n# Steps to reproduce \r\n1 ) Create a new file & set syntax to Python\r\n2 ) Paste this example into Sublime:\r\n```python\r\n# Version 3.0, Build 3143\r\n# Syntax highlighting error\r\nfoo = \"{text{\" # Comment\r\nbar = \"}}\" # Comment\r\n\r\nprint(foo),\r\nprint(bar)\r\n```\r\n3 ) Profit\r\n\r\n_Python 2.7.x and 3.6.x runs this code correctly without any issues._\r\n_This issue affects all themes. Remove \"text\" between the braces in the foo variable to see the correct highlighting._\r\n\r\n### Environment\r\n* Operating system and version:\r\n  * Windows 10 15063.674\r\n  * Linux / Ubuntu 16.04 \r\n* Monitor:\r\n  (Irrelevant) \r\n* Sublime Text:\r\n  * Build 3143\r\n  * 64 bit"}}
{"actor":{"display_login":"keith-hall"}}