{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/9387","labels_url":"https://api.github.com/repos/adobe/brackets/issues/9387/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/9387/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/9387/events","html_url":"https://github.com/adobe/brackets/pull/9387","id":44588586,"number":9387,"title":"Use CMs electric chars","user":{"login":"MarcelGerber","id":2641501,"avatar_url":"https://avatars.githubusercontent.com/u/2641501?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcelGerber","html_url":"https://github.com/MarcelGerber","followers_url":"https://api.github.com/users/MarcelGerber/followers","following_url":"https://api.github.com/users/MarcelGerber/following{/other_user}","gists_url":"https://api.github.com/users/MarcelGerber/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcelGerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcelGerber/subscriptions","organizations_url":"https://api.github.com/users/MarcelGerber/orgs","repos_url":"https://api.github.com/users/MarcelGerber/repos","events_url":"https://api.github.com/users/MarcelGerber/events{/privacy}","received_events_url":"https://api.github.com/users/MarcelGerber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adobe/brackets/labels/PR%20Triage%20Complete","name":"PR Triage Complete","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-10-01T16:57:59Z","updated_at":"2015-04-08T17:31:51Z","closed_at":"2015-04-08T11:43:10Z","pull_request":{"url":"https://api.github.com/repos/adobe/brackets/pulls/9387","html_url":"https://github.com/adobe/brackets/pull/9387","diff_url":"https://github.com/adobe/brackets/pull/9387.diff","patch_url":"https://github.com/adobe/brackets/pull/9387.patch"},"body":"This fixes multiple issues:\r\n#1324, #8434, #8723, #8980, #9120\r\n\r\n\r\nI verified #8395 (fixed by #8439) is still fixed.\r\n\r\nThere's one behaviour change (tracked via codemirror/codemirror#2812):\r\nIn a switch statement (JS), the cursor automatically indents 2 units, but back-indents as soon as you type \"case\".\r\n\r\n@peterflynn You once noted (on IRC) you saw flaws with CM's implementation, could you please take a look?\r\ncc @JeffryBooher "},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/90982282","html_url":"https://github.com/adobe/brackets/pull/9387#issuecomment-90982282","issue_url":"https://api.github.com/repos/adobe/brackets/issues/9387","id":90982282,"user":{"login":"MarcelGerber","id":2641501,"avatar_url":"https://avatars.githubusercontent.com/u/2641501?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcelGerber","html_url":"https://github.com/MarcelGerber","followers_url":"https://api.github.com/users/MarcelGerber/followers","following_url":"https://api.github.com/users/MarcelGerber/following{/other_user}","gists_url":"https://api.github.com/users/MarcelGerber/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcelGerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcelGerber/subscriptions","organizations_url":"https://api.github.com/users/MarcelGerber/orgs","repos_url":"https://api.github.com/users/MarcelGerber/repos","events_url":"https://api.github.com/users/MarcelGerber/events{/privacy}","received_events_url":"https://api.github.com/users/MarcelGerber/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:31:51Z","updated_at":"2015-04-08T17:31:51Z","body":"I also filed CodeMirror/codemirror#3188, suggesting an event on electric char indent, so we can call `_handleWhitespaceForElectricChars` every time an electric char is handled, to also handle languages with more special electric chars like XML, Verilog, Ruby, or even JavaScripts `case` and `default` properly."}}