{"action":"opened","issue":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/183","repository_url":"https://api.github.com/repos/abe33/atom-pigments","labels_url":"https://api.github.com/repos/abe33/atom-pigments/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-pigments/issues/183/comments","events_url":"https://api.github.com/repos/abe33/atom-pigments/issues/183/events","html_url":"https://github.com/abe33/atom-pigments/issues/183","id":155002210,"number":183,"title":"Uncaught TypeError: Cannot read property 'id' of undefined","user":{"login":"aditiapratama","id":982553,"avatar_url":"https://avatars.githubusercontent.com/u/982553?v=3","gravatar_id":"","url":"https://api.github.com/users/aditiapratama","html_url":"https://github.com/aditiapratama","followers_url":"https://api.github.com/users/aditiapratama/followers","following_url":"https://api.github.com/users/aditiapratama/following{/other_user}","gists_url":"https://api.github.com/users/aditiapratama/gists{/gist_id}","starred_url":"https://api.github.com/users/aditiapratama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aditiapratama/subscriptions","organizations_url":"https://api.github.com/users/aditiapratama/orgs","repos_url":"https://api.github.com/users/aditiapratama/repos","events_url":"https://api.github.com/users/aditiapratama/events{/privacy}","received_events_url":"https://api.github.com/users/aditiapratama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T10:29:02Z","updated_at":"2016-05-16T10:29:02Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. Open xml file which contain color hex code\r\n2. the error show up\r\n\r\n**Atom Version**: 1.9.0-dev-97529f9\r\n**System**: \"Fedora release\r\n**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package, v0.26.3\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'id' of undefined\r\n\r\n```\r\nAt /usr/local/share/atom/resources/app.asar/src/text-editor-presenter.js:800\r\n\r\nTypeError: Cannot read property 'id' of undefined\r\n    at TextEditorPresenter.module.exports.TextEditorPresenter.updateLineNumbersState (/usr/local/share/atom/resources/app.asar/src/text-editor-presenter.js:800:56)\r\n    at TextEditorPresenter.module.exports.TextEditorPresenter.updateTilesState (/usr/local/share/atom/resources/app.asar/src/text-editor-presenter.js:488:14)\r\n    at TextEditorPresenter.module.exports.TextEditorPresenter.getPreMeasurementState (/usr/local/share/atom/resources/app.asar/src/text-editor-presenter.js:127:12)\r\n    at TextEditorComponent.module.exports.TextEditorComponent.updateSyncPreMeasurement (/usr/local/share/atom/resources/app.asar/src/text-editor-component.js:265:60)\r\n    at TextEditorComponent.module.exports.TextEditorComponent.pixelPositionForScreenPosition (/usr/local/share/atom/resources/app.asar/src/text-editor-component.js:662:14)\r\n    at atom-text-editor.TextEditorElement.pixelPositionForScreenPosition (/usr/local/share/atom/resources/app.asar/src/text-editor-element.js:336:29)\r\n    at BackgroundRenderer.module.exports.RegionRenderer.createRegion (/home/aditia/.atom/packages/pigments/lib/renderers/region-renderer.coffee:78:39)\r\n    at BackgroundRenderer.module.exports.RegionRenderer.renderRegions (/home/aditia/.atom/packages/pigments/lib/renderers/region-renderer.coffee:16:21)\r\n    at BackgroundRenderer.module.exports.BackgroundRenderer.render (/home/aditia/.atom/packages/pigments/lib/renderers/background.coffee:11:16)\r\n    at pigments-color-marker.ColorMarkerElement.render (/home/aditia/.atom/packages/pigments/lib/color-marker-element.coffee:66:45)\r\n    at pigments-color-marker.ColorMarkerElement.setModel (/home/aditia/.atom/packages/pigments/lib/color-marker-element.coffee:52:6)\r\n    at pigments-markers.ColorBufferElement.requestMarkerView (/home/aditia/.atom/packages/pigments/lib/color-buffer-element.coffee:280:10)\r\n    at pigments-markers.ColorBufferElement.updateMarkers (/home/aditia/.atom/packages/pigments/lib/color-buffer-element.coffee:263:8)\r\n    at pigments-markers.ColorBufferElement.editorConfigChanged (/home/aditia/.atom/packages/pigments/lib/color-buffer-element.coffee:140:6)\r\n    at /home/aditia/.atom/packages/pigments/lib/color-buffer-element.coffee:72:52\r\n    at Function.module.exports.Emitter.simpleDispatch (/usr/local/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/usr/local/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at TokenizedBuffer.module.exports.TokenizedBuffer.markTokenizationComplete (/usr/local/share/atom/resources/app.asar/src/tokenized-buffer.js:335:22)\r\n    at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/usr/local/share/atom/resources/app.asar/src/tokenized-buffer.js:329:21)\r\n    at /usr/local/share/atom/resources/app.asar/src/tokenized-buffer.js:278:26\r\n    at /usr/local/share/atom/resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -1:15.5.0 tree-view:toggle (atom-text-editor.editor.vim-mode.normal-mode)\r\n     -1:14.5.0 application:open-folder (atom-text-editor.editor.vim-mode.normal-mode)\r\n     -0:38.6.0 settings-view:open (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n     -0:19.2.0 core:select-all (atom-text-editor.editor.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"autoHideMenuBar\": true,\r\n    \"automaticallyUpdate\": false,\r\n    \"disabledPackages\": [\r\n      \"w3c-validation\",\r\n      \"aligner-php\",\r\n      \"autocomplete-php\",\r\n      \"git-history\",\r\n      \"expose\",\r\n      \"tree-view-git-branch\"\r\n    ],\r\n    \"projectHome\": \"/home/aditia/git\",\r\n    \"themes\": [\r\n      \"nucleus-dark-ui\",\r\n      \"monokai\"\r\n    ]\r\n  },\r\n  \"pigments\": {\r\n    \"extendAutocompleteToColorValue\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\n.bin, vundefined (inactive)\r\nadvanced-open-file, v0.16.2 (inactive)\r\naligner-php, v1.0.0 (inactive)\r\natom-beautify, v0.29.7 (inactive)\r\natom-css-unit-converter, v1.1.1 (inactive)\r\natom-dark-fusion-syntax, v1.1.0 (inactive)\r\natom-live-server, v1.2.5 (inactive)\r\natom-material-syntax-dark, v0.2.5 (inactive)\r\natom-material-syntax-light, v0.4.5 (inactive)\r\natom-material-ui, v1.2.11 (inactive)\r\natom-monokai, v0.10.2 (inactive)\r\natom-typescript, v8.10.1 (active)\r\nautocomplete-emojis, v2.3.0 (active)\r\nautocomplete-paths, v1.0.2 (active)\r\nautocomplete-php, v0.3.7 (inactive)\r\ncake-syntax, v0.5.0 (inactive)\r\ncolor-picker, v2.1.1 (active)\r\nduotone-dark-space-syntax, v1.0.0 (inactive)\r\nduotone-dark-syntax, v1.0.0 (inactive)\r\nduotone-light-syntax, v1.0.0 (inactive)\r\neclectic-syntax, v0.2.1 (inactive)\r\nemmet, v2.4.3 (active)\r\nexpose, v0.11.1 (inactive)\r\nfile-icons, v1.7.11 (active)\r\nfirewatch-syntax, v1.0.1 (inactive)\r\nfizzy, v0.16.0 (inactive)\r\nfont-viewer, v0.3.1 (active)\r\nfonts, v1.2.0 (active)\r\ngenesis-ui, v0.5.0 (inactive)\r\ngit-blame, v0.4.8 (inactive)\r\ngit-control, v0.7.1 (inactive)\r\ngit-diff-details, v1.3.0 (active)\r\ngit-history, v3.2.0 (inactive)\r\ngit-log, v0.4.1 (active)\r\ngit-plus, v5.13.4 (inactive)\r\ngit-projects, v1.17.0 (inactive)\r\ngit-time-machine, v1.5.2 (inactive)\r\ngruvbox-syntax, v2.3.1 (inactive)\r\nlinter, v1.11.4 (active)\r\nmerge-conflicts, v1.4.2 (active)\r\nminimap, v4.23.5 (active)\r\nmonokai, v0.18.0 (active)\r\nmonokai-seti, v0.7.0 (inactive)\r\nmulti-cursor, v2.1.3 (inactive)\r\nnative-ui, v0.18.2 (inactive)\r\nneon-selection, v0.3.2 (active)\r\nneutron-ui, v0.4.0 (inactive)\r\nnucleus-dark-ui, v0.7.22 (active)\r\noctocat-syntax, v0.1.5 (inactive)\r\nopen-in-browser, v0.4.7 (inactive)\r\nopen-terminal-here, v2.1.4 (inactive)\r\npigments, v0.26.3 (active)\r\npredawn-syntax, v1.0.2 (inactive)\r\npredawn-ui, v1.0.2 (inactive)\r\nproject-manager, v2.9.7 (active)\r\nproject-plus, v0.9.0 (active)\r\nRemote-FTP, v0.8.3 (active)\r\nseti-syntax, v1.0.1 (inactive)\r\nseti-ui, v1.1.2 (inactive)\r\nsort-lines, v0.14.0 (inactive)\r\nsplit-diff, v0.8.1 (inactive)\r\nstate-of-nature-syntax, v0.1.0 (inactive)\r\nSublime-Style-Column-Selection, v1.5.1 (active)\r\nsvg-preview, v0.7.4 (active)\r\nsync-settings, v0.7.2 (active)\r\ntag, v0.4.0 (active)\r\ntango-syntax, v0.4.1 (inactive)\r\ntool-bar, v0.4.0 (active)\r\ntool-bar-almighty, v0.6.1 (active)\r\ntree-view-git-branch, v0.1.2 (inactive)\r\ntree-view-git-status, v0.2.3 (active)\r\ntrendy-dark-syntax, v0.2.0 (inactive)\r\ntrendy-light-ui, v0.28.1 (inactive)\r\nvim-mode, v0.65.0 (active)\r\nw3c-validation, v0.4.0 (inactive)\r\nwordpress-api, v1.2.2 (active)\r\nyeti-syntax, v0.1.2 (inactive)\r\nyeti-ui, v0.1.6 (inactive)\r\nzip-folder, v3.2.0 (inactive)\r\natom-dark-syntax, v0.27.0 (inactive)\r\natom-dark-ui, v0.51.0 (inactive)\r\natom-light-syntax, v0.28.0 (inactive)\r\natom-light-ui, v0.43.0 (inactive)\r\nbase16-tomorrow-dark-theme, v1.1.0 (inactive)\r\nbase16-tomorrow-light-theme, v1.1.1 (inactive)\r\none-dark-ui, v1.3.1 (inactive)\r\none-light-ui, v1.3.1 (inactive)\r\none-dark-syntax, v1.2.0 (inactive)\r\none-light-syntax, v1.2.0 (inactive)\r\nsolarized-dark-syntax, v1.0.2 (inactive)\r\nsolarized-light-syntax, v1.0.2 (inactive)\r\nabout, v1.5.2 (active)\r\narchive-view, v0.61.1 (active)\r\nautocomplete-atom-api, v0.10.0 (active)\r\nautocomplete-css, v0.11.1 (active)\r\nautocomplete-html, v0.7.2 (active)\r\nautocomplete-plus, v2.31.0 (active)\r\nautocomplete-snippets, v1.11.0 (active)\r\nautoflow, v0.27.0 (inactive)\r\nautosave, v0.23.1 (active)\r\nbackground-tips, v0.26.0 (active)\r\nbookmarks, v0.41.0 (active)\r\nbracket-matcher, v0.82.1 (active)\r\ncommand-palette, v0.38.0 (inactive)\r\ndeprecation-cop, v0.54.1 (active)\r\ndev-live-reload, v0.47.0 (active)\r\nencoding-selector, v0.22.0 (active)\r\nexception-reporting, v0.38.1 (active)\r\nfuzzy-finder, v1.2.0 (active)\r\ngit-diff, v1.0.1 (active)\r\nfind-and-replace, v0.198.0 (inactive)\r\ngo-to-line, v0.30.0 (inactive)\r\ngrammar-selector, v0.48.1 (active)\r\nimage-view, v0.57.0 (active)\r\nincompatible-packages, v0.26.1 (active)\r\nkeybinding-resolver, v0.35.0 (active)\r\nline-ending-selector, v0.5.0 (active)\r\nlink, v0.31.1 (inactive)\r\nmarkdown-preview, v0.158.0 (active)\r\nmetrics, v0.53.1 (active)\r\nnotifications, v0.64.0 (active)\r\nopen-on-github, v1.1.0 (inactive)\r\npackage-generator, v1.0.0 (inactive)\r\nsettings-view, v0.236.1 (active)\r\nsnippets, v1.0.2 (active)\r\nspell-check, v0.67.1 (active)\r\nstatus-bar, v1.2.6 (active)\r\nstyleguide, v0.45.2 (active)\r\nsymbols-view, v0.113.0 (inactive)\r\ntabs, v0.95.0 (active)\r\ntimecop, v0.33.1 (active)\r\ntree-view, v0.206.2 (active)\r\nupdate-package-dependencies, v0.10.0 (active)\r\nwelcome, v0.34.0 (active)\r\nwhitespace, v0.32.2 (active)\r\nwrap-guide, v0.38.1 (active)\r\nlanguage-c, v0.51.5 (active)\r\nlanguage-clojure, v0.20.0 (active)\r\nlanguage-coffee-script, v0.47.0 (active)\r\nlanguage-csharp, v0.12.1 (active)\r\nlanguage-css, v0.36.1 (active)\r\nlanguage-gfm, v0.86.0 (active)\r\nlanguage-git, v0.13.0 (active)\r\nlanguage-go, v0.42.0 (active)\r\nlanguage-html, v0.44.1 (active)\r\nlanguage-hyperlink, v0.16.0 (active)\r\nlanguage-java, v0.18.0 (active)\r\nlanguage-javascript, v0.110.0 (active)\r\nlanguage-json, v0.18.0 (active)\r\nlanguage-less, v0.29.3 (active)\r\nlanguage-make, v0.22.0 (active)\r\nlanguage-mustache, v0.13.0 (active)\r\nlanguage-objective-c, v0.15.1 (active)\r\nlanguage-perl, v0.35.0 (active)\r\nlanguage-php, v0.37.0 (active)\r\nlanguage-property-list, v0.8.0 (active)\r\nlanguage-python, v0.43.2 (active)\r\nlanguage-ruby, v0.68.5 (active)\r\nlanguage-ruby-on-rails, v0.25.0 (active)\r\nlanguage-sass, v0.51.1 (active)\r\nlanguage-shellscript, v0.22.2 (active)\r\nlanguage-source, v0.9.0 (active)\r\nlanguage-sql, v0.21.0 (active)\r\nlanguage-text, v0.7.1 (active)\r\nlanguage-todo, v0.27.0 (active)\r\nlanguage-toml, v0.18.0 (active)\r\nlanguage-xml, v0.34.6 (active)\r\nlanguage-yaml, v0.26.0 (active)\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"}}