{"action":"created","issue":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3501","labels_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3501/labels{/name}","comments_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3501/comments","events_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3501/events","html_url":"https://github.com/codemirror/CodeMirror/pull/3501","id":105074182,"number":3501,"title":"a not-so-great fix to an indentation bug","user":{"login":"increpare","id":465632,"avatar_url":"https://avatars.githubusercontent.com/u/465632?v=3","gravatar_id":"","url":"https://api.github.com/users/increpare","html_url":"https://github.com/increpare","followers_url":"https://api.github.com/users/increpare/followers","following_url":"https://api.github.com/users/increpare/following{/other_user}","gists_url":"https://api.github.com/users/increpare/gists{/gist_id}","starred_url":"https://api.github.com/users/increpare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/increpare/subscriptions","organizations_url":"https://api.github.com/users/increpare/orgs","repos_url":"https://api.github.com/users/increpare/repos","events_url":"https://api.github.com/users/increpare/events{/privacy}","received_events_url":"https://api.github.com/users/increpare/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-06T06:13:46Z","updated_at":"2015-09-09T10:47:36Z","closed_at":"2015-09-09T08:49:11Z","pull_request":{"url":"https://api.github.com/repos/codemirror/CodeMirror/pulls/3501","html_url":"https://github.com/codemirror/CodeMirror/pull/3501","diff_url":"https://github.com/codemirror/CodeMirror/pull/3501.diff","patch_url":"https://github.com/codemirror/CodeMirror/pull/3501.patch"},"body":"fixes #3500 \r\n\r\nI don't know if \r\n\r\n1) there's a way to get haxe to, while in functiondef, for instance, be able to tell the compiler that what it thought was a type name is actually a variable name, and to indent/highlight correctly\r\n\r\nor\r\n\r\n2) there's a way that, assuming it's a type name, to still indent correctly\r\n\r\nbut it *is* possible to loosen the lexer to accept things marked as types as function names (in functiondef), and this fixes the indentation problem.  "},"comment":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/comments/138871315","html_url":"https://github.com/codemirror/CodeMirror/pull/3501#issuecomment-138871315","issue_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/3501","id":138871315,"user":{"login":"increpare","id":465632,"avatar_url":"https://avatars.githubusercontent.com/u/465632?v=3","gravatar_id":"","url":"https://api.github.com/users/increpare","html_url":"https://github.com/increpare","followers_url":"https://api.github.com/users/increpare/followers","following_url":"https://api.github.com/users/increpare/following{/other_user}","gists_url":"https://api.github.com/users/increpare/gists{/gist_id}","starred_url":"https://api.github.com/users/increpare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/increpare/subscriptions","organizations_url":"https://api.github.com/users/increpare/orgs","repos_url":"https://api.github.com/users/increpare/repos","events_url":"https://api.github.com/users/increpare/events{/privacy}","received_events_url":"https://api.github.com/users/increpare/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T10:47:36Z","updated_at":"2015-09-09T10:47:36Z","body":"(also, until I say otherwise, feel free to @ mention me if anyone finds 'orrible bugs haxe.js )"}}