{"action":"created","issue":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/7","labels_url":"https://api.github.com/repos/abe33/atom-pigments/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-pigments/issues/7/comments","events_url":"https://api.github.com/repos/abe33/atom-pigments/issues/7/events","html_url":"https://github.com/abe33/atom-pigments/issues/7","id":72543864,"number":7,"title":"Crashes Atom when used with autocomplete-plus","user":{"login":"ProLoser","id":67395,"avatar_url":"https://avatars.githubusercontent.com/u/67395?v=3","gravatar_id":"","url":"https://api.github.com/users/ProLoser","html_url":"https://github.com/ProLoser","followers_url":"https://api.github.com/users/ProLoser/followers","following_url":"https://api.github.com/users/ProLoser/following{/other_user}","gists_url":"https://api.github.com/users/ProLoser/gists{/gist_id}","starred_url":"https://api.github.com/users/ProLoser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProLoser/subscriptions","organizations_url":"https://api.github.com/users/ProLoser/orgs","repos_url":"https://api.github.com/users/ProLoser/repos","events_url":"https://api.github.com/users/ProLoser/events{/privacy}","received_events_url":"https://api.github.com/users/ProLoser/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/abe33/atom-pigments/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-01T23:06:55Z","updated_at":"2015-05-07T14:07:51Z","closed_at":null,"body":"When used with autocomplete-plus only, simply writing a few characters in a `scss` file causes the entire editor to crash.\r\n\r\nSee https://github.com/atom-community/autocomplete-plus/issues/429"},"comment":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/comments/99880810","html_url":"https://github.com/abe33/atom-pigments/issues/7#issuecomment-99880810","issue_url":"https://api.github.com/repos/abe33/atom-pigments/issues/7","id":99880810,"user":{"login":"eliasyanni","id":7694090,"avatar_url":"https://avatars.githubusercontent.com/u/7694090?v=3","gravatar_id":"","url":"https://api.github.com/users/eliasyanni","html_url":"https://github.com/eliasyanni","followers_url":"https://api.github.com/users/eliasyanni/followers","following_url":"https://api.github.com/users/eliasyanni/following{/other_user}","gists_url":"https://api.github.com/users/eliasyanni/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasyanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasyanni/subscriptions","organizations_url":"https://api.github.com/users/eliasyanni/orgs","repos_url":"https://api.github.com/users/eliasyanni/repos","events_url":"https://api.github.com/users/eliasyanni/events{/privacy}","received_events_url":"https://api.github.com/users/eliasyanni/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T14:07:51Z","updated_at":"2015-05-07T14:07:51Z","body":"Agreed editor lockup due to large project or file.\r\n\r\n### steps to reproduce:\r\n\r\n1. Choice a CSS or LESS file\r\n2. Add a property and color value\r\n\r\n**Atom Version**: 0.196.0\r\n**System**: Mac OS X 10.10.3\r\n**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package, v0.2.0\r\n\r\n### Stack Trace\r\n\r\nUncaught RangeError: Maximum call stack size exceeded\r\n\r\n```\r\nAt /Users/[username]/.atom/packages/pigments/lib/regexes.coffee:0\r\n\r\nRangeError: Maximum call stack size exceeded\r\n  at String.replace (native)\r\n  at /Users/[username]/.atom/packages/pigments/lib/regexes.coffee:23:14\r\n  at Array.map (native)\r\n  at module.exports.createVariableRegExpString (/Users/[username]/.atom/packages/pigments/lib/regexes.coffee:22:31)\r\n  at module.exports.getRegistry (/Users/[username]/.atom/packages/pigments/lib/color-expressions.coffee:628:27)\r\n  at ColorParser.module.exports.ColorParser.parse (/Users/[username]/.atom/packages/pigments/lib/color-parser.coffee:18:16)\r\n  at ColorContext.module.exports.ColorContext.readColor (/Users/[username]/.atom/packages/pigments/lib/color-context.coffee:41:22)\r\n \r\n  at Color.<anonymous> (/Users/[username]/.atom/packages/pigments/lib/color-expressions.coffee:339:25)\r\n  at ColorExpression.module.exports.ColorExpression.parse (/Users/[username]/.atom/packages/pigments/lib/color-expression.coffee:15:13)\r\n  at ColorParser.module.exports.ColorParser.parse (/Users/[username]/.atom/packages/pigments/lib/color-parser.coffee:21:16)\r\n  at ColorContext.module.exports.ColorContext.readColor (/Users/[username]/.atom/packages/pigments/lib/color-context.coffee:41:22)\r\n\r\n\r\n\r\n  at ProjectVariable.module.exports.ProjectVariable.readColor (/Users/[username]/.atom/packages/pigments/lib/project-variable.coffee:22:39)\r\n  at ProjectVariable.module.exports.ProjectVariable.getColor (/Users/[username]/.atom/packages/pigments/lib/project-variable.coffee:18:27)\r\n  at ProjectVariable.module.exports.ProjectVariable.isColor (/Users/[username]/.atom/packages/pigments/lib/project-variable.coffee:16:15)\r\n  at /Users/[username]/.atom/packages/pigments/lib/color-project.coffee:244:69\r\n  at Array.filter (native)\r\n  at ColorProject.module.exports.ColorProject.getColorVariables (/Users/[username]/.atom/packages/pigments/lib/color-project.coffee:244:39)\r\n  at PigmentsProvider.module.exports.PigmentsProvider.getSuggestions (/Users/[username]/.atom/packages/pigments/lib/pigments-provider.coffee:27:28)\r\n  at /Users/[username]/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:152:45\r\n  at Array.forEach (native)\r\n  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Users/[username]/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:135:15)\r\n  at AutocompleteManager.getSuggestionsFromProviders (/Users/[username]/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1)\r\n  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Users/[username]/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:129:6)\r\n  at /Users/[username]/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -4:38.1.0 core:confirm (atom-text-editor.editor.mini)\r\n     -4:38.1.0 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)\r\n     -4:16.2.0 find-and-replace:show (atom-text-editor.editor.is-focused)\r\n     -4:12 core:confirm (atom-text-editor.editor.mini)\r\n     -3:18.8.0 emmet:balance-outward (atom-text-editor.editor)\r\n     -3:17.5.0 core:backspace (atom-text-editor.editor)\r\n     -3:15.9.0 core:save (atom-text-editor.editor)\r\n     -0:34.1.0 find-and-replace:show (atom-text-editor.editor.is-focused)\r\n     -0:25.7.0 find-and-replace:focus-next (atom-text-editor.editor.mini)\r\n     -0:23.9.0 find-and-replace:find-next (atom-text-editor.editor.mini)\r\n     -0:19.6.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)\r\n     -0:19.6.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:19 core:paste (atom-text-editor.editor.is-focused)\r\n     -0:18.5.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)\r\n     -0:18.5.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:18.2.0 core:paste (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"tabs\",\r\n      \"tree-view\"\r\n    ],\r\n    \"themes\": [\r\n      \"isotope-ui\",\r\n      \"one-dark-syntax\"\r\n    ]\r\n  },\r\n  \"pigments\": {\r\n    \"sortPaletteColors\": \"by color\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nSublime-Style-Column-Selection, v1.2.3\r\natom-beautify, v0.27.0\r\nautoclose-html, v0.15.0\r\nautocomplete-css, v0.6.0\r\nautocomplete-html, v0.6.0\r\nautocomplete-paths, v1.0.2\r\nautocomplete-plus, v2.12.1\r\ncolor-picker, v1.7.0\r\ncomposer, v0.3.1\r\nemmet, v2.3.8\r\nhighlight-selected, v0.9.2\r\nisotope-ui, v2.1.5\r\nlanguage-apache, v1.3.0\r\nlocal-server-express, v0.3.1\r\nminimap, v4.8.0\r\nminimap-git-diff, v4.1.2\r\nminimap-highlight-selected, v4.2.1\r\npigments, v0.2.0\r\nproject-manager, v1.15.5\r\nsublime-tabs, v0.5.6\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"}}