{"action":"closed","issue":{"url":"https://api.github.com/repos/codemirror/google-modes/issues/193","repository_url":"https://api.github.com/repos/codemirror/google-modes","labels_url":"https://api.github.com/repos/codemirror/google-modes/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/codemirror/google-modes/issues/193/comments","events_url":"https://api.github.com/repos/codemirror/google-modes/issues/193/events","html_url":"https://github.com/codemirror/google-modes/issues/193","id":349004897,"node_id":"MDU6SXNzdWUzNDkwMDQ4OTc=","number":193,"title":"[cpp] pointer cast in if statement breaks indentation/highlighting","user":{"login":"mtaran-google","id":5050719,"node_id":"MDQ6VXNlcjUwNTA3MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5050719?v=4","gravatar_id":"","url":"https://api.github.com/users/mtaran-google","html_url":"https://github.com/mtaran-google","followers_url":"https://api.github.com/users/mtaran-google/followers","following_url":"https://api.github.com/users/mtaran-google/following{/other_user}","gists_url":"https://api.github.com/users/mtaran-google/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaran-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaran-google/subscriptions","organizations_url":"https://api.github.com/users/mtaran-google/orgs","repos_url":"https://api.github.com/users/mtaran-google/repos","events_url":"https://api.github.com/users/mtaran-google/events{/privacy}","received_events_url":"https://api.github.com/users/mtaran-google/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-09T07:12:42Z","updated_at":"2018-08-11T12:15:06Z","closed_at":"2018-08-11T12:15:06Z","author_association":"CONTRIBUTOR","body":"```cpp\r\nint main() {\r\n  int x = 0;\r\n  void *y = &x;\r\n  if ((int *)y) {\r\n    return 1;\r\n  } else {\r\n    return 0;\r\n  }\r\n}\r\n```\r\n\r\nif you press enter after the `return 1;` the indentation goes back to column 2 rather than staying at 4, and the highlighting turns off inside the if."}}
{"actor":{"display_login":"marijnh"}}