{"action":"created","issue":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/108","repository_url":"https://api.github.com/repos/abe33/atom-pigments","labels_url":"https://api.github.com/repos/abe33/atom-pigments/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-pigments/issues/108/comments","events_url":"https://api.github.com/repos/abe33/atom-pigments/issues/108/events","html_url":"https://github.com/abe33/atom-pigments/issues/108","id":114412570,"number":108,"title":"Uncaught TypeError: Cannot read property 'toCSS' of undefined","user":{"login":"YuriSolovyov","id":2168518,"avatar_url":"https://avatars.githubusercontent.com/u/2168518?v=3","gravatar_id":"","url":"https://api.github.com/users/YuriSolovyov","html_url":"https://github.com/YuriSolovyov","followers_url":"https://api.github.com/users/YuriSolovyov/followers","following_url":"https://api.github.com/users/YuriSolovyov/following{/other_user}","gists_url":"https://api.github.com/users/YuriSolovyov/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriSolovyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriSolovyov/subscriptions","organizations_url":"https://api.github.com/users/YuriSolovyov/orgs","repos_url":"https://api.github.com/users/YuriSolovyov/repos","events_url":"https://api.github.com/users/YuriSolovyov/events{/privacy}","received_events_url":"https://api.github.com/users/YuriSolovyov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-10-31T13:45:53Z","updated_at":"2016-02-29T09:02:41Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. try to open some minified js file\r\n2. error happens\r\n\r\n**Atom Version**: 1.1.0\r\n**System**: Microsoft Windows 8.1 Enterprise\r\n**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package, v0.18.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'toCSS' of undefined\r\n\r\n```\r\nAt C:\\Users\\Yury\\AppData\\Local\\atom\\app-1.1.0\\resources\\app.asar\\node_modules\\text-buffer\\lib\\text-buffer.js:770\r\n\r\nTypeError: Cannot read property 'toCSS' of undefined\r\n    at DotRenderer.module.exports.DotRenderer.render (C:\\Users\\Yury\\.atom\\packages\\pigments\\lib\\renderers\\dot.coffee:28:41)\r\n    at pigments-color-marker.ColorMarkerElement.render (C:\\Users\\Yury\\.atom\\packages\\pigments\\lib\\color-marker-element.coffee:48:46)\r\n    at pigments-color-marker.ColorMarkerElement.checkScreenRange (C:\\Users\\Yury\\.atom\\packages\\pigments\\lib\\color-marker-element.coffee:66:8)\r\n    at C:\\Users\\Yury\\.atom\\packages\\pigments\\lib\\color-buffer-element.coffee:59:16\r\n    at Array.forEach (native)\r\n    at C:\\Users\\Yury\\.atom\\packages\\pigments\\lib\\color-buffer-element.coffee:57:20\r\n    at Emitter.module.exports.Emitter.emit (C:\\Users\\Yury\\AppData\\Local\\atom\\app-1.1.0\\resources\\app.asar\\node_modules\\event-kit\\lib\\emitter.js:86:11)\r\n    at C:\\Users\\Yury\\AppData\\Local\\atom\\app-1.1.0\\resources\\app.asar\\src\\text-editor.js:181:32\r\n    at Emitter.module.exports.Emitter.emit (C:\\Users\\Yury\\AppData\\Local\\atom\\app-1.1.0\\resources\\app.asar\\node_modules\\event-kit\\lib\\emitter.js:86:11)\r\n    at DisplayBuffer.module.exports.DisplayBuffer.emitDidChange (C:\\Users\\Yury\\AppData\\Local\\atom\\app-1.1.0\\resources\\app.asar\\src\\display-buffer.js:297:20)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -8:23.3.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -8:23.3.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -8:22.3.0 core:undo (atom-text-editor.editor.is-focused)\r\n     -8:18.1.0 core:move-left (atom-text-editor.editor.is-focused)\r\n     -8:17.7.0 core:move-right (atom-text-editor.editor.is-focused)\r\n     -8:17.4.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -8:17.1.0 core:move-left (atom-text-editor.editor.is-focused)\r\n  2x -8:13.8.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -8:09.5.0 core:save (atom-text-editor.editor.is-focused)\r\n     -8:01.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  2x -8:00.5.0 core:move-up (atom-text-editor.editor.is-focused)\r\n     -7:59.7.0 core:select-down (atom-text-editor.editor.is-focused)\r\n     -7:59.6.0 core:delete (atom-text-editor.editor.is-focused)\r\n     -7:59.3.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:04.1.0 core:select-all (atom-text-editor.editor.is-focused)\r\n     -0:03.3.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  \"pigments\": {\r\n    \"markerType\": \"dot\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nhighlight-selected, v0.10.1\r\nminimap, v4.15.2\r\nminimap-highlight-selected, v4.3.1\r\nminimap-pigments, v0.1.7\r\nminimap-selection, v4.3.1\r\npigments, v0.18.1\r\nStylus, v1.2.1\r\nterminal-panel, v1.14.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/comments/190110860","html_url":"https://github.com/abe33/atom-pigments/issues/108#issuecomment-190110860","issue_url":"https://api.github.com/repos/abe33/atom-pigments/issues/108","id":190110860,"user":{"login":"sashamorozov","id":4144548,"avatar_url":"https://avatars.githubusercontent.com/u/4144548?v=3","gravatar_id":"","url":"https://api.github.com/users/sashamorozov","html_url":"https://github.com/sashamorozov","followers_url":"https://api.github.com/users/sashamorozov/followers","following_url":"https://api.github.com/users/sashamorozov/following{/other_user}","gists_url":"https://api.github.com/users/sashamorozov/gists{/gist_id}","starred_url":"https://api.github.com/users/sashamorozov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashamorozov/subscriptions","organizations_url":"https://api.github.com/users/sashamorozov/orgs","repos_url":"https://api.github.com/users/sashamorozov/repos","events_url":"https://api.github.com/users/sashamorozov/events{/privacy}","received_events_url":"https://api.github.com/users/sashamorozov/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T09:02:41Z","updated_at":"2016-02-29T09:02:41Z","body":"If it helps, I got this error when trying to remove 2+ inline svg."}}