{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/atom-editorconfig/issues/56","labels_url":"https://api.github.com/repos/sindresorhus/atom-editorconfig/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/atom-editorconfig/issues/56/comments","events_url":"https://api.github.com/repos/sindresorhus/atom-editorconfig/issues/56/events","html_url":"https://github.com/sindresorhus/atom-editorconfig/issues/56","id":120115939,"number":56,"title":"Slow at opening lagre files","user":{"login":"hultberg","id":1257913,"avatar_url":"https://avatars.githubusercontent.com/u/1257913?v=3","gravatar_id":"","url":"https://api.github.com/users/hultberg","html_url":"https://github.com/hultberg","followers_url":"https://api.github.com/users/hultberg/followers","following_url":"https://api.github.com/users/hultberg/following{/other_user}","gists_url":"https://api.github.com/users/hultberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hultberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hultberg/subscriptions","organizations_url":"https://api.github.com/users/hultberg/orgs","repos_url":"https://api.github.com/users/hultberg/repos","events_url":"https://api.github.com/users/hultberg/events{/privacy}","received_events_url":"https://api.github.com/users/hultberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T08:18:20Z","updated_at":"2015-12-03T16:09:21Z","closed_at":null,"body":"Hello\r\n\r\nAfter installing editorconfig I noticed that when opening a CSS file with over 3500 lines it takes about 3-4 secs before the I can start edit the file and before language highlight highlights the file. During the 3-4 secs Atom completely freezes.\r\n\r\nWhen there is no editorconfig in my project this issue do not occur even with editorconfig enabled.\r\n\r\nOccurs in Atom 1.2.4 and Atom 1.3.0-beta6 with only editorconfig enabled.\r\n\r\nHere is my editorconfig:\r\n````\r\n# top-most EditorConfig file\r\nroot = true\r\n\r\n# All files configuration\r\n[*]\r\nend_of_line = lf\r\ninsert_final_newline = true\r\ncharset = utf-8\r\ntrim_trailing_whitespace = true\r\n\r\n# PHP Configuration\r\n[*.php]\r\nindent_style = space\r\nindent_size = 4\r\n\r\n# JS configuration\r\n[*.js]\r\nindent_style = space\r\nindent_size = 2\r\n\r\n# CSS configuration\r\n[*.css]\r\nindent_style = space\r\nindent_size = 2\r\n\r\n# SCSS configuration\r\n[*.scss]\r\nindent_style = space\r\nindent_size = 2\r\n````"},"comment":{"url":"https://api.github.com/repos/sindresorhus/atom-editorconfig/issues/comments/161692645","html_url":"https://github.com/sindresorhus/atom-editorconfig/issues/56#issuecomment-161692645","issue_url":"https://api.github.com/repos/sindresorhus/atom-editorconfig/issues/56","id":161692645,"user":{"login":"pkese","id":278492,"avatar_url":"https://avatars.githubusercontent.com/u/278492?v=3","gravatar_id":"","url":"https://api.github.com/users/pkese","html_url":"https://github.com/pkese","followers_url":"https://api.github.com/users/pkese/followers","following_url":"https://api.github.com/users/pkese/following{/other_user}","gists_url":"https://api.github.com/users/pkese/gists{/gist_id}","starred_url":"https://api.github.com/users/pkese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkese/subscriptions","organizations_url":"https://api.github.com/users/pkese/orgs","repos_url":"https://api.github.com/users/pkese/repos","events_url":"https://api.github.com/users/pkese/events{/privacy}","received_events_url":"https://api.github.com/users/pkese/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T16:09:21Z","updated_at":"2015-12-03T16:09:21Z","body":"Oh... so that is what had been slowing down my Atom.\r\nIt would be nice to have a flag to not fiddle with existing line endings.\r\n\r\n+1"}}